'1.0', 'info' => ['style' => 'RPC', 'product' => 'gpdb', 'version' => '2016-05-03'], 'directories' => [ [ 'children' => ['CreateAIService', 'DeleteAIService', 'ModifyAIServiceSecurityIps', 'ListAIServices', 'DescribeAIService'], 'type' => 'directory', 'title' => 'AI screenwriting assistant', ], [ 'children' => ['DescribeModelService', 'DeleteModelService', 'ListSupportModels', 'ListModelServices', 'CreateModelService'], 'type' => 'directory', 'title' => 'Model service', ], [ 'children' => ['DeleteAINode', 'ListAINodePools', 'AddAINode'], 'type' => 'directory', 'title' => 'AINode', ], [ 'children' => ['CreateSupabaseProject', 'DeleteSupabaseProject', 'PauseSupabaseProject', 'ListSupabaseProjectTags', 'ModifySupabaseProjectDescription', 'TagSupabaseProject', 'UntagSupabaseProject', 'ResumeSupabaseProject', 'ListSupabaseProjects', 'GetSupabaseProject', 'GetSupabaseProjectDashboardAccount', 'GetSupabaseProjectApiKeys', 'ModifySupabaseProjectSecurityIps', 'ModifySupabaseProjectResource', 'ResetSupabaseProjectPassword', 'ModifySupabaseAutoScalePolicy'], 'type' => 'directory', 'title' => 'Supabase', ], [ 'children' => ['ExecuteStatement', 'DescribeTable'], 'type' => 'directory', 'title' => 'Data API', ], [ 'children' => [ [ 'children' => ['CreateCollection', 'DescribeCollection', 'ModifyCollection'], 'type' => 'directory', 'title' => 'Manage vector collections', ], [ 'children' => [ [ 'children' => ['UpsertChunks', 'UploadDocumentAsync', 'GetUploadDocumentJob', 'CancelUploadDocumentJob', 'GetGraphRAGJob'], 'type' => 'directory', 'title' => 'Upload documents', ], [ 'children' => ['QueryKnowledgeBasesContent', 'QueryContent'], 'type' => 'directory', 'title' => 'Retrieval', ], [ 'children' => ['ChatWithKnowledgeBaseStream', 'ChatWithKnowledgeBase'], 'type' => 'directory', 'title' => 'Knowledge base Q&A', ], [ 'children' => ['ListDocuments', 'ListChunks', 'DescribeDocument', 'DeleteDocument', 'DeleteChunks'], 'type' => 'directory', 'title' => 'View and delete documents', ], [ 'children' => ['CreateDocumentCollection', 'ListDocumentCollections', 'DeleteDocumentCollection', 'EnableCollectionGraphRAG'], 'type' => 'directory', 'title' => 'Manage document libraries', ], ], 'type' => 'directory', 'title' => 'Manage documents', ], [ 'children' => [ [ 'children' => ['UpsertCollectionData', 'UpsertCollectionDataAsync', 'CancelUpsertCollectionDataJob'], 'type' => 'directory', 'title' => 'Upload vector data', ], [ 'children' => ['QueryCollectionData'], 'type' => 'directory', 'title' => 'Retrieval', ], ], 'type' => 'directory', 'title' => 'Manage vectors', ], [ 'children' => ['CreateVectorIndex', 'DeleteVectorIndex', 'DescribeCreateIndexJob', 'CancelCreateIndexJob', 'ListIndices', 'DescribeIndex'], 'type' => 'directory', 'title' => 'Index management', ], [ 'children' => ['TextEmbedding'], 'type' => 'directory', 'title' => 'Embedding', ], [ 'children' => ['Rerank'], 'type' => 'directory', 'title' => 'Rerank', ], [ 'children' => ['DescribeZonesPrivateRAGService', 'DeployPrivateRAGService', 'DescribePrivateRAGService', 'DeletePrivateRAGService'], 'type' => 'directory', 'title' => 'RAG service privatization', ], ], 'type' => 'directory', 'title' => 'RAG Service', ], [ 'children' => [ [ 'children' => ['DeleteStreamingDataSource'], 'type' => 'directory', 'title' => 'Real-time data sources', ], [ 'children' => ['ModifyStreamingDataService', 'DeleteStreamingDataService'], 'type' => 'directory', 'title' => 'Real-time data services', ], [ 'children' => ['DeleteStreamingJob'], 'type' => 'directory', 'title' => 'Real-time data synchronization tasks', ], ], 'type' => 'directory', 'title' => 'Real-time data consumption', ], [ 'children' => ['ListDatabaseExtensions', 'DescribeExtension'], 'type' => 'directory', 'title' => 'Plug-in management', ], [ 'children' => [ [ 'children' => [ [ 'children' => ['DescribeHadoopClustersInSameNet'], 'type' => 'directory', 'title' => 'External data services', ], [ 'children' => ['DeleteHadoopDataSource'], 'type' => 'directory', 'title' => 'Hadoop data sources', ], ], 'type' => 'directory', 'title' => 'Heterogeneous data source management', ], ], 'type' => 'directory', 'title' => 'External data management', ], [ 'children' => ['CreateDBInstance'], 'type' => 'directory', 'title' => 'Create an instance', ], [ 'children' => ['ModifyDBInstanceDeploymentMode'], 'type' => 'directory', 'title' => 'Instance management', ], [ 'children' => ['UpgradeDBInstance'], 'type' => 'directory', 'title' => 'Instance specification change', ], [ 'children' => ['DescribeDBInstanceAttribute', 'DescribeDBInstances'], 'type' => 'directory', 'title' => 'Query instances', ], [ 'children' => ['CreateBackup', 'DeleteBackup', 'ListBackupJobs', 'DescribeBackupJob', 'CloneDBInstance'], 'type' => 'directory', 'title' => 'Backup management', ], [ 'children' => ['GetAccount'], 'type' => 'directory', 'title' => 'Account management', ], [ 'children' => ['DescribeDataSharePerformance', 'SetDataShareInstance'], 'type' => 'directory', 'title' => 'Data sharing', ], [ 'children' => ['DescribeDBClusterPerformance', 'DescribeDownloadRecords'], 'type' => 'directory', 'title' => 'Diagnostics and optimization', ], [ 'children' => [ [ 'children' => ['CreateDBInstanceIPArray', 'DeleteDBInstanceIPArray'], 'type' => 'directory', 'title' => 'Whitelist management', ], ], 'type' => 'directory', 'title' => 'Security management', ], [ 'children' => ['DescribeSQLLogCount'], 'type' => 'directory', 'title' => 'Log management', ], [ 'children' => ['DescribeAvailableResources'], 'type' => 'directory', 'title' => 'Resource management', ], [ 'children' => ['DescribeDBResourceGroup'], 'type' => 'directory', 'title' => 'Resource groups', ], [ 'children' => [ 'DescribeDBInstanceSupportMaxPerformance', 'CreateDatabase', 'DownloadSlowSQLRecords', 'DeleteDatabase', 'DescribeDatabase', 'ListInstanceDatabases', 'CreateIndex', 'CreateSecret', 'DeleteIndex', 'DeleteSecret', 'DescribeRegions', 'GetSecretValue', 'ListSecrets', 'ListTagResources', 'TagResources', 'AllocateInstancePublicConnection', 'BindDBResourceGroupWithRole', 'CheckHadoopDataSource', 'CheckHadoopNetConnection', 'CheckJDBCSourceNetConnection', 'CheckServiceLinkedRole', 'CreateAccount', 'CreateBranch', 'CreateDBInstancePlan', 'CreateDBResourceGroup', 'CreateExtensions', 'CreateExternalDataService', 'CreateHadoopDataSource', 'CreateJDBCDataSource', 'CreateModelOperatorApiKey', 'CreateNamespace', 'CreateRemoteADBDataSource', 'CreateSaasService', 'CreateSampleData', 'CreateServiceLinkedRole', 'CreateSnapshot', 'CreateStreamingDataService', 'CreateStreamingDataSource', 'CreateStreamingJob', 'CreateWorkspace', 'DeleteAccount', 'DeleteBranch', 'DeleteCollection', 'DeleteCollectionData', 'DeleteDBInstance', 'DeleteDBInstancePlan', 'DeleteDBResourceGroup', 'DeleteExtension', 'DeleteExternalDataService', 'DeleteJDBCDataSource', 'DeleteNamespace', 'DeleteRemoteADBDataSource', 'DeleteSaasService', 'DeleteSnapshot', 'DeleteWorkspace', 'DescribeAccounts', 'DescribeActiveSQLRecords', 'DescribeBackupPolicy', 'DescribeBranch', 'DescribeDBClusterNode', 'DescribeDBInstanceDataBloat', 'DescribeDBInstanceDataSkew', 'DescribeDBInstanceDiagnosisSummary', 'DescribeDBInstanceErrorLog', 'DescribeDBInstanceIPArrayList', 'DescribeDBInstanceIndexUsage', 'DescribeDBInstanceNetInfo', 'DescribeDBInstancePerformance', 'DescribeDBInstancePlans', 'DescribeDBInstanceSSL', 'DescribeDBResourceManagementMode', 'DescribeDBVersionInfos', 'DescribeDataBackups', 'DescribeDataReDistributeInfo', 'DescribeDataShareInstances', 'DescribeDiagnosisDimensions', 'DescribeDiagnosisMonitorPerformance', 'DescribeDiagnosisRecords', 'DescribeDiagnosisSQLInfo', 'DescribeDownloadSQLLogs', 'DescribeExternalDataService', 'DescribeHadoopConfigs', 'DescribeHadoopDataSource', 'DescribeHealthStatus', 'DescribeIMVInfos', 'DescribeJDBCDataSource', 'DescribeLogBackups', 'DescribeModelOperatorApiKey', 'DescribeModelOperatorUsage', 'DescribeModifyParameterLog', 'DescribeNamespace', 'DescribeParameters', 'DescribeRdsVSwitchs', 'DescribeRdsVpcs', 'DescribeRebalanceStatus', 'DescribeRoles', 'DescribeSQLLogs', 'DescribeSQLLogsV2', 'DescribeSampleData', 'DescribeStreamingDataService', 'DescribeStreamingDataSource', 'DescribeStreamingJob', 'DescribeSupportFeatures', 'DescribeTags', 'DescribeUserEncryptionKeyList', 'DescribeWaitingSQLInfo', 'DescribeWaitingSQLRecords', 'DisableDBResourceGroup', 'DownloadDiagnosisRecords', 'DownloadSQLLogsRecords', 'EnableDBResourceGroup', 'GetBranchSchema', 'GetSaasService', 'GetServiceAccessInfo', 'GetStatementResult', 'GetUpsertCollectionDataJob', 'GrantCollection', 'HandleActiveSQLRecord', 'InitVectorDatabase', 'ListBranches', 'ListCollections', 'ListDatabases', 'ListExternalDataServices', 'ListExternalDataSources', 'ListInstanceExtensions', 'ListModelOperatorApiKeys', 'ListModelOperatorServices', 'ListNamespaces', 'ListRemoteADBDataSources', 'ListSaasService', 'ListSchemas', 'ListSlowSQLRecords', 'ListStreamingDataServices', 'ListStreamingDataSources', 'ListStreamingJobs', 'ListTables', 'ListWorkspaces', 'ModifyAccountDescription', 'ModifyBackupPolicy', 'ModifyDBInstanceConfig', 'ModifyDBInstanceConnectionString', 'ModifyDBInstanceDescription', 'ModifyDBInstanceMaintainTime', 'ModifyDBInstanceNetworkType', 'ModifyDBInstancePayType', 'ModifyDBInstanceResourceGroup', 'ModifyDBInstanceSSL', 'ModifyDBResourceGroup', 'ModifyExternalDataService', 'ModifyHadoopDataSource', 'ModifyJDBCDataSource', 'ModifyMasterSpec', 'ModifyParameters', 'ModifyRemoteADBDataSource', 'ModifySQLCollectorPolicy', 'ModifySecurityIps', 'ModifyStreamingDataSource', 'ModifyStreamingJob', 'ModifyVectorConfiguration', 'PauseDataRedistribute', 'PauseInstance', 'PauseSaasService', 'RebalanceDBInstance', 'ReleaseInstancePublicConnection', 'ResetAccountPassword', 'ResetBranch', 'ResetIMVMonitorData', 'RestartDBInstance', 'RestartSupabaseProject', 'RestoreBranch', 'RestoreSnapshot', 'ResumeDataRedistribute', 'ResumeInstance', 'ResumeSaasService', 'SetAsDefaultBranch', 'SetDBInstancePlanStatus', 'SwitchDBInstanceNetType', 'UnbindDBResourceGroupWithRole', 'UnloadSampleData', 'UntagResources', 'UpdateBranch', 'UpdateCollectionDataMetadata', 'UpdateDBInstancePlan', 'UpgradeDBVersion', 'UpgradeExtensions', ], 'type' => 'directory', 'title' => 'Others', ], ], 'components' => [ 'schemas' => [ 'ColumnMetadata' => [ 'title' => '', 'description' => 'Data API ColumnMetadata', 'type' => 'object', 'properties' => [ 'Comment' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''], 'ColumnDefault' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''], 'Scale' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''], 'MaxLength' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''], 'UdtName' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''], 'IsCaseSensitive' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''], 'IsCurrency' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''], 'Name' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''], 'TableName' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''], 'Precision' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''], 'DataType' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''], 'IsSigned' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''], 'Nullable' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''], 'SchemaName' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''], 'IsPrimaryKey' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''], ], 'example' => '', ], 'Field' => [ 'title' => '', 'description' => 'The Data API field.', 'type' => 'object', 'properties' => [ 'DoubleValue' => ['title' => '', 'type' => 'number', 'format' => 'double', 'description' => '', 'example' => ''], 'BooleanValue' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''], 'LongValue' => ['title' => '', 'type' => 'integer', 'format' => 'int64', 'description' => '', 'example' => ''], 'IsNull' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''], 'StringValue' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''], 'BlobValue' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''], ], 'example' => '', ], ], ], 'apis' => [ 'AddAINode' => [ 'summary' => 'Adds AI nodes to the cluster.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'AINodePoolId', 'in' => 'query', 'schema' => ['description' => 'The ID of the resource pool to which the AI node belongs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'aipool-xxxxx', 'title' => ''], ], [ 'name' => 'AINodeSpecInfos', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The AI node specifications.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The AI node specifications and quantity.'."\n", 'type' => 'object', 'properties' => [ 'NodeSpec' => ['description' => 'The AI node specifications.'."\n" ."\n" .' ADB.AIStandard.1'."\n" .' ADB.AIMedium.1'."\n" .' ADB.AILarge.1'."\n" .' ADB.AIStandard.2'."\n" .' ADB.AIMedium.2'."\n" .' ADB.AILarge.2'."\n" .' ADB.AIXLarge.2'."\n" .' ADB.AIStandard.6'."\n" .' ADB.AIMedium.6'."\n" .' ADB.AILarge.6'."\n" .' ADB.AIXLarge.6'."\n" .' ADB.AIStandard.3'."\n" .' ADB.AIMedium.3'."\n" .' ADB.AILarge.3'."\n" .' ADB.AIXLarge.3'."\n" .' ADB.AIStandard.4'."\n" .' ADB.AIMedium.4'."\n" .' ADB.AILarge.4'."\n" .' ADB.AIXLarge.4'."\n" .' ADB.AIStandard.5'."\n" .' ADB.AIMedium.5'."\n" .' ADB.AILarge.5'."\n" .' ADB.AIXLarge.5'."\n" .' ADB.AIStandard.8'."\n" .' ADB.AIMedium.8'."\n" .' ADB.AILarge.8'."\n" .' ADB.AIXLarge.8'."\n" .' ADB.AI2XLarge.8'."\n", 'type' => 'string', 'required' => true, 'example' => 'ADB.AIStandard.1', 'title' => ''], 'NodeNum' => ['description' => 'The number of AI nodes.'."\n", 'type' => 'string', 'required' => true, 'example' => '2', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => true, 'maxItems' => 100, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'OrderId' => ['title' => '', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => '111111111111'], 'RequestId' => ['title' => '', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OrderId\\": \\"111111111111\\",\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'title' => 'AddAINode', 'description' => '## [](#)Usage notes'."\n" ."\n" .'This operation is used to add an AINode node.'."\n" ."\n" .'## [](#qps-)QPS limit'."\n" ."\n" .'You can call this operation up to 1,000 times per second per account. Exceeding the limit will trigger API rate limiting, which may impact your business. Please call the API responsibly.'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:AddAINode', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'AllocateInstancePublicConnection' => [ 'summary' => 'Allocates a public endpoint for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbFBNS5O'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'ConnectionStringPrefix', 'in' => 'query', 'schema' => ['description' => 'The prefix of the endpoint.'."\n" ."\n" .'Specify a prefix for the endpoint. Example: `gp-bp12ga6v69h86****`. In this example, the endpoint is `gp-bp12ga6v69h86****.gpdb.rds.aliyuncs.com`.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'Port', 'in' => 'query', 'schema' => ['description' => 'The port number. Example: 5432.'."\n", 'type' => 'string', 'required' => true, 'example' => '5432', 'title' => ''], ], [ 'name' => 'AddressType', 'in' => 'query', 'schema' => ['description' => 'The network type of the endpoint. Valid values:'."\n" ."\n" .'* **primary**: primary endpoint'."\n" .'* **cluster**: instance endpoint. This value is supported only for an instance that contains multiple coordinator nodes.'."\n" ."\n" .'> The default value is primary.'."\n", 'type' => 'string', 'required' => false, 'example' => 'primary', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'ADD6EA90-EECB-4C12-9F26-0B6DB587****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ADD6EA90-EECB-4C12-9F26-0B6DB587****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n ADD6EA90-EECB-4C12-9F26-0B6DB587****\\n","errorExample":""}]', 'title' => 'AllocateInstancePublicConnection', 'description' => '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~~).'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AllocateInstancePublicConnection'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:AllocateInstancePublicConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'BindDBResourceGroupWithRole' => [ 'summary' => 'Binds a resource group to a database role.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbGDXMO2'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'ResourceGroupName', 'in' => 'query', 'schema' => ['description' => 'The name of the resource group.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testgroup', 'title' => ''], ], [ 'name' => 'RoleList', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => 'The roles.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the role.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testrole', 'title' => ''], 'required' => true, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'title' => 'BindDBResourceGroupWithRole', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BindDBResourceGroupWithRole'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:BindDBResourceGroupWithRole', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'CancelCreateIndexJob' => [ 'summary' => 'Cancels an index creation job.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbIPPRRA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the cluster.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~196830~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => [ 'description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. You must specify one of the WorkspaceId and DBInstanceId parameters. If you specify both parameters, the WorkspaceId parameter takes precedence.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* ip'."\n" .'* l2'."\n" .'* cosine'."\n", 'type' => 'string', 'required' => false, 'enumValueTitles' => [], 'example' => 'gp-ws-*****', 'enum' => ['ip', 'l2', 'cosine'], 'title' => '', ], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The namespace name.'."\n" ."\n" .'> You can call the [CreateNamespace](~~2401495~~) operation to create a namespace and call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => true, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password of the namespace.'."\n" ."\n" .'> The value of this parameter is specified when you call the CreateNamespace operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the collection.'."\n" ."\n" .'> You can call the [ListCollections](~~2401503~~) operation to query a list of collections.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testcollection', 'title' => ''], ], [ 'name' => 'JobId', 'in' => 'query', 'schema' => ['description' => 'The ID of the index creation job, which is returned from the `CreateIndex` operation.'."\n", 'type' => 'string', 'required' => true, 'example' => '231460f8-75dc-405e-a669-0c5204887e91', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'CancelCreateIndexJob', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:CancelCreateIndexJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], ], 'CancelUploadDocumentJob' => [ 'summary' => 'Cancels an asynchronous document upload job based on the job ID.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance for which vector engine optimization is enabled.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'formData', 'schema' => ['description' => 'The name of the namespace. Default value: public.'."\n" ."\n" .'> You can call the CreateNamespace operation to create a namespace and call the ListNamespaces operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'formData', 'schema' => ['description' => 'The name of the document collection.'."\n" ."\n" .'> You can call the [CreateDocumentCollection](~~2618448~~) operation to create a document collection and call the [ListDocumentCollections](~~2618452~~) operation to query a list of document collections.'."\n", 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'formData', 'schema' => ['description' => 'The password of the namespace.'."\n" ."\n" .'> The value of this parameter is specified when you call the CreateNamespace operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'JobId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the document upload job. You can call the `UploadDocumentAsync` operation to query the job ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '231460f8-75dc-405e-a669-0c5204887e91', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'CancelUploadDocumentJob', 'description' => 'This operation is related to the UploadDocumentAsync operation. You can call this operation to cancel a document upload job.'."\n" ."\n" .'> 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.'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelUploadDocumentJob'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:CancelUploadDocumentJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ], ], ], ], ], 'CancelUpsertCollectionDataJob' => [ 'summary' => 'Cancels an asynchronous vector data upload job by using a job ID.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '208255', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'formData', 'schema' => ['description' => 'The name of the namespace. Default value: public.'."\n" ."\n" .'> You can call the CreateNamespace operation to create a namespace and call the ListNamespaces operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'formData', 'schema' => ['description' => 'The name of the collection.'."\n" ."\n" .'> You can call the [ListCollections](~~2401503~~) operation to query a list of collections.'."\n", 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'formData', 'schema' => ['description' => 'The password of the namespace.'."\n" ."\n" .'> The value of this parameter is specified when you call the CreateNamespace operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'JobId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the vector data upload job. You can call the `UpsertCollectionDataAsync` operation to query the job ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'bf8f7bc4-9276-44f7-9c22-1d06edc8dfd1', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. You must specify one of the WorkspaceId and DBInstanceId parameters. If you specify both parameters, the WorkspaceId parameter takes effect.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"Successful\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'CancelUpsertCollectionDataJob', 'description' => 'This operation is related to the `UpsertCollectionDataAsync` operation. You can call this operation to cancel an upload job.'."\n" ."\n" .'> 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.'."\n", 'changeSet' => [ ['createdAt' => '2024-08-04T13:55:04.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelUpsertCollectionDataJob'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CancelUpsertCollectionDataJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], ], 'ChatWithKnowledgeBase' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdb4XJLZD'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" .'> You can call the [DescribeDBInstances](~~196830~~) operation to query the details of all instances in the target region, including the instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'KnowledgeParams', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The knowledge retrieval parameter object. If not specified, only chat is performed.', 'type' => 'object', 'properties' => [ 'MergeMethod' => ['description' => 'The method for merging multiple knowledge bases. Default is RRF. Valid values:'."\n" .'- RRF'."\n" .'- Weight', 'type' => 'string', 'required' => false, 'example' => '"RRF"', 'title' => ''], 'MergeMethodArgs' => [ 'description' => 'The parameters for multi-knowledge base fusion.', 'type' => 'object', 'properties' => [ 'Rrf' => [ 'description' => 'The configurable parameters when MergeMethod is set to RRF.', 'type' => 'object', 'properties' => [ 'K' => ['description' => 'The k constant in the scoring algorithm 1/(k+rank_i). The value must be a positive integer greater than 1.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'Weight' => [ 'description' => 'The configurable parameters when MergeMethod is set to Weight.', 'type' => 'object', 'properties' => [ 'Weights' => [ 'description' => 'The weight array for each SourceCollection.', 'type' => 'array', 'items' => ['description' => 'The weight for each SourceCollection.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0.01', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], 'RerankFactor' => ['description' => 'The reranking factor. When this value is not empty, the vector retrieval results are reranked. Value range: 1 < RerankFactor <= 5.'."\n" .'> - Reranking is slow when document segmentation is sparse.'."\n" .'> - It is recommended that the number of items to rerank (TopK * Factor, rounded up) does not exceed 50.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '1.0001', 'title' => ''], 'RerankModel' => [ 'title' => '', 'type' => 'object', 'properties' => [ 'Name' => ['title' => '', 'type' => 'string', 'example' => 'qwen3-rerank', 'description' => '', 'required' => false], 'Instruct' => ['title' => '', 'type' => 'string', 'example' => 'Given a web search query, retrieve relevant passages that answer the query', 'description' => '', 'required' => false], ], 'required' => false, 'description' => '', 'example' => '', ], 'SourceCollection' => [ 'description' => 'The list of knowledge bases.', 'type' => 'array', 'items' => [ 'description' => 'A knowledge base.', 'type' => 'object', 'properties' => [ 'Collection' => ['description' => 'The name of the collection to recall.', 'type' => 'string', 'required' => true, 'example' => 'adbpg_document_collection', 'title' => ''], 'Namespace' => ['description' => 'The namespace. Default value: public.'."\n" ."\n" .'> You can create a namespace by calling the [CreateNamespace](~~2401495~~) operation, and view the list by calling the [ListNamespaces](~~2401502~~) operation.', 'type' => 'string', 'required' => false, 'example' => 'dukang', 'title' => ''], 'NamespacePassword' => ['description' => 'The password corresponding to the namespace.'."\n" ."\n" .'> This value is specified in the CreateNamespace operation.', 'type' => 'string', 'required' => true, 'example' => 'namespacePasswd', 'title' => ''], 'QueryParams' => [ 'description' => 'The parameters related to knowledge base retrieval.', 'type' => 'object', 'properties' => [ 'Filter' => ['description' => 'The filter condition for the data to be updated, in SQL WHERE clause format.', 'type' => 'string', 'required' => false, 'example' => 'id = \'llm-t87l87fxuhn56woc_8anu8j2d3f_file_e74635e2cc314e838543e724f6b3b1f2_10658020\'', 'title' => ''], 'GraphEnhance' => ['description' => 'Specifies whether to enable knowledge graph enhancement. Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], 'GraphSearchArgs' => [ 'description' => 'The number of top entities and relationship edges to return. Default value: 60.', 'type' => 'object', 'properties' => [ 'GraphTopK' => ['description' => 'The number of top entities and relationship edges to return. Default value: 60.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'HybridSearch' => ['description' => 'The multi-path recall algorithm. Default is empty (i.e., directly compares and sorts the dense vector and full-text scores).'."\n" ."\n" .'Valid values:'."\n" ."\n" .'- RRF: Reciprocal Rank Fusion. Has a parameter k to control the fusion effect. See HybridSearchArgs configuration for details.'."\n" .'- Weight: Weight-based sorting. Uses parameters to control the score weights of vector and full-text retrieval, then sorts. See HybridSearchArgs configuration for details.'."\n" .'- Cascaded: First performs full-text retrieval, then performs vector retrieval on top of it.', 'type' => 'string', 'required' => false, 'example' => 'RRF', 'title' => ''], 'HybridSearchArgs' => [ 'description' => 'The algorithm parameters for multi-path recall. Currently supports RRF and Weight. HybridPathsSetting can specify recall of dense vectors (dense), sparse vectors (sparse), and full-text retrieval (fulltext). If the value is empty, dense vectors (dense) and full-text retrieval (fulltext) are recalled by default.'."\n" ."\n" .'- RRF: Specifies the k constant in the scoring algorithm `1/(k+rank_i)`. The value must be a positive integer greater than 1. Format:'."\n" .'```'."\n" .'{'."\n" .' "HybridPathsSetting": {'."\n" .' "paths": "dense,fulltext"'."\n" .' },'."\n" .' "RRF": {'."\n" .' "k": 60'."\n" .' }'."\n" .'}'."\n" .'```'."\n" ."\n" .'- Weight: '."\n" .' - Dual-path recall (without specifying HybridPathsSetting, only specifying alpha):'."\n" .' - Formula: alpha * dense_score + (1-alpha) * fulltext_score. The parameter alpha represents the score weight between dense vector and full-text retrieval, ranging from 0 to 1, where 0 means full-text only and 1 means dense vector only:'."\n" .'```'."\n" .'{ '."\n" .' "Weight": {'."\n" .' "alpha": 0.5'."\n" .' }'."\n" .'}'."\n" .'```'."\n" .' - Three-path recall mode:'."\n" .' - Formula: normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score. Where dense, sparse, and fulltext represent the weights for dense vector, sparse vector, and full-text retrieval respectively, with values greater than or equal to 0. The system automatically normalizes the weights to the range 0-1 (i.e., normalized_x = x / (dense + sparse + fulltext)).'."\n" .'```'."\n" .'{'."\n" .' "HybridPathsSetting": {'."\n" .' "paths": "dense,sparse,fulltext"'."\n" .' },'."\n" .' "Weight": {'."\n" .' "dense": 0.5,'."\n" .' "sparse": 0.3,'."\n" .' "fulltext": 0.2'."\n" .' }'."\n" .'}'."\n" .'```', 'type' => 'object', 'required' => false, 'additionalProperties' => ['description' => 'The parameter configuration value.', 'type' => 'any', 'example' => '{'."\n" .' "HybridPathsSetting": {'."\n" .' "paths": "dense,fulltext"'."\n" .' },'."\n" .' "RRF": {'."\n" .' "k": 60'."\n" .' }'."\n" .'}', 'title' => ''], 'title' => '', 'example' => '', ], 'Metrics' => ['description' => 'The method used when building the vector index. Valid values:'."\n" .'- l2: Euclidean distance.'."\n" .'- ip: Inner product distance.'."\n" .'- cosine: Cosine similarity.', 'type' => 'string', 'required' => false, 'example' => 'cosine', 'title' => ''], 'RecallWindow' => [ 'description' => 'The recall window. When this value is not empty, additional context of the retrieval results is returned. The format is a 2-element array: List, where -10 <= A <= 0 and 0 <= B <= 10.'."\n" .'> - It is recommended to use this parameter when document segmentation is too granular and retrieval may lose contextual information.'."\n" .'> - Reranking takes priority over windowing, meaning reranking is performed first, then windowing is applied.', 'type' => 'array', 'items' => ['description' => 'The recall window. When this value is not empty, additional context of the retrieval results is returned. The format is a 2-element array: List, where -10 <= A <= 0 and 0 <= B <= 10.'."\n" .'> - It is recommended to use this parameter when document segmentation is too granular and retrieval may lose contextual information.'."\n" .'> - Reranking takes priority over windowing, meaning reranking is performed first, then windowing is applied.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '[-1,1]', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], 'RerankFactor' => ['description' => 'The reranking factor. When this value is not empty, the vector retrieval results are reranked. Value range: 1 < RerankFactor <= 5.'."\n" .'> - Reranking is slow when document segmentation is sparse.'."\n" .'> - It is recommended that the number of items to rerank (TopK * Factor, rounded up) does not exceed 50.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '1.5', 'title' => ''], 'RerankModel' => [ 'title' => '', 'type' => 'object', 'properties' => [ 'Name' => ['title' => '', 'type' => 'string', 'example' => 'qwen3-rerank', 'description' => '', 'required' => false], 'Instruct' => ['title' => '', 'type' => 'string', 'example' => 'Given a web search query, retrieve relevant passages that answer the query', 'description' => '', 'required' => false], 'RerankMetadataFields' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], 'required' => false, 'description' => '', 'example' => '', ], 'TopK' => ['description' => 'The number of top results to return.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''], 'UseFullTextRetrieval' => ['description' => 'Specifies whether to use full-text retrieval (dual-path recall). Default value: false, which means only vector retrieval is used.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => true, 'title' => '', 'example' => '', ], 'TopK' => ['description' => 'The number of top results to return after merging the recall results from multiple vector collections.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'PromptParams', 'in' => 'query', 'schema' => ['description' => 'The system prompt template, which must include {{ text_chunks }}, {{ user_system_prompt }}, {{ graph_entities }}, and {{ graph_relations }}. If not specified, this part does not take effect.', 'type' => 'string', 'required' => false, 'example' => '"参考以下知识回答问题:{{ text_chunks }}"', 'title' => ''], ], [ 'name' => 'ModelParams', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The large language model (LLM) invocation parameter object.', 'type' => 'object', 'properties' => [ 'MaxTokens' => ['description' => 'The maximum number of tokens to generate.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '8192', 'title' => ''], 'Messages' => [ 'description' => 'The message list.', 'type' => 'array', 'items' => [ 'description' => 'The message list.', 'type' => 'object', 'properties' => [ 'Content' => ['description' => 'The message content.', 'type' => 'string', 'required' => true, 'example' => 'You are a helpful assistant.', 'title' => ''], 'Role' => ['description' => 'The message role. Valid values:'."\n" .'- system'."\n" .'- user'."\n" .'- assistant', 'type' => 'string', 'required' => true, 'example' => 'user', 'title' => ''], ], 'required' => true, 'title' => '', 'example' => '', ], 'required' => true, 'title' => '', 'example' => '', ], 'Model' => ['description' => 'The name of the large model to use. For valid values, see: [Bailian Help Documentation](https://help.aliyun.com/zh/model-studio/compatibility-of-openai-with-dashscope?spm=a2c4g.11186623.help-menu-2400256.d_2_10_0.45b5516eZIciC8&scm=20140722.H_2833609._.OR_help-T_cn~zh-V_1#eadfc13038jd5)', 'type' => 'string', 'required' => true, 'example' => 'qwen-plus', 'title' => ''], 'N' => ['description' => 'The number of candidate replies to generate.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], 'PresencePenalty' => ['description' => 'The presence penalty coefficient (-2.0 to 2.0).', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '1.0', 'title' => ''], 'Seed' => ['description' => 'The random seed.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '42', 'title' => ''], 'Stop' => [ 'description' => 'The stop word list.', 'type' => 'array', 'items' => ['description' => 'A stop word.', 'type' => 'string', 'required' => false, 'example' => '"\\n"', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], 'Temperature' => ['description' => 'The sampling temperature (0 to 2).', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0.6', 'title' => ''], 'Tools' => [ 'description' => 'The tool list.', 'type' => 'array', 'items' => [ 'description' => 'Tool details.', 'type' => 'object', 'properties' => [ 'Function' => [ 'description' => 'The function information.', 'type' => 'object', 'properties' => [ 'Description' => ['description' => 'The function tool description.', 'type' => 'string', 'required' => false, 'example' => '获取天气。', 'title' => ''], 'Name' => ['description' => 'The function tool name.', 'type' => 'string', 'required' => false, 'example' => 'get_weather', 'title' => ''], 'Parameters' => ['description' => 'The function parameters in JSON Schema format.', 'type' => 'any', 'required' => false, 'example' => '{"type": "object", ...}', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'title' => '', 'example' => '', ], 'TopP' => ['description' => 'The nucleus sampling probability threshold (0 to 1).', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0.9', 'title' => ''], ], 'required' => true, 'title' => '', 'example' => '', ], ], [ 'name' => 'IncludeKnowledgeBaseResults', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to return the recall results. Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response body.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'MultiCollectionRecallResult' => [ 'description' => 'The multi-knowledge base recall information.', 'type' => 'object', 'properties' => [ 'Entities' => [ 'description' => 'The entity details.', 'type' => 'array', 'items' => ['description' => 'An entity type.', 'type' => 'string', 'example' => '{\'entities\': []}', 'title' => ''], 'title' => '', 'example' => '', ], 'Matches' => [ 'title' => '', 'description' => 'The recall items.', 'type' => 'array', 'items' => [ 'description' => 'A recall item.', 'type' => 'object', 'properties' => [ 'Content' => ['description' => 'The document content.', 'type' => 'string', 'example' => 'AnalyticDB PostgreSQL vector database.', 'title' => ''], 'FileName' => ['description' => 'The file name.', 'type' => 'string', 'example' => 'process_info_19b9df4dc9ad4bf2b30eb2faa4a9a987.txt', 'title' => ''], 'FileURL' => ['description' => 'The public URL of the query result image, valid for 2 hours by default.'."\n" ."\n" .'You can specify the validity period using the UrlExpiration input parameter.', 'type' => 'string', 'example' => 'http://viapi-customer-pop.oss-cn-shanghai.aliyuncs.com/b4d8_207196811002111319_570c0e199f03428f812ab21fcc00dd6a', 'title' => ''], 'Id' => ['description' => 'The unique ID of the vector data.', 'type' => 'string', 'example' => '273e3fc7-8f56-4167-a1bb-d35d2f3b9043', 'title' => ''], 'LoaderMetadata' => ['description' => 'The metadata information loaded by the document loader.', 'type' => 'any', 'example' => '{"page":1}', 'title' => ''], 'Metadata' => [ 'description' => 'The metadata.', 'type' => 'object', 'additionalProperties' => ['title' => '', 'description' => 'The metadata information.', 'type' => 'any', 'example' => '{"update_time":1749348435357,"title":"example"}'], 'title' => '', 'example' => '', ], 'RerankScore' => ['description' => 'The reranking score.', 'type' => 'number', 'format' => 'double', 'example' => '0.1', 'title' => ''], 'RetrievalSource' => ['description' => 'The source of the retrieval result. 1 indicates vector retrieval, 2 indicates full-text retrieval, and 3 indicates dual-path recall.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], 'Score' => ['description' => 'The similarity score of this data entry. The scoring algorithm is related to the algorithm specified when creating the index (l2/ip/cosine).', 'type' => 'number', 'format' => 'double', 'example' => '12', 'title' => ''], 'Vector' => [ 'description' => 'The vector data.', 'type' => 'array', 'items' => ['description' => 'The vector data.', 'type' => 'number', 'format' => 'double', 'example' => '[]', 'title' => ''], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'example' => '', ], 'Relations' => [ 'description' => 'The relationship edge details.', 'type' => 'array', 'items' => ['description' => 'The relationship edge details.', 'type' => 'string', 'example' => '{\'relations\': []}', 'title' => ''], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6B9E3255-4543-5B3B-9E00-6490CA64742B', 'title' => ''], 'Status' => ['description' => 'The API execution status. Valid values:'."\n" .'- **success**: Execution succeeded.'."\n" .'- **fail**: Execution failed.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Tokens' => ['description' => 'The number of tokens consumed.', 'type' => 'integer', 'format' => 'int64', 'example' => '42', 'title' => ''], 'Usage' => [ 'description' => 'The tokens or items consumed by document understanding or embedding.', 'type' => 'object', 'properties' => [ 'EmbeddingTokens' => ['description' => 'The number of tokens used for vectorization.'."\n" ."\n" .'> A token is the smallest unit into which input text is divided. A token can be a word, a phrase, a punctuation mark, a character, etc.', 'type' => 'integer', 'format' => 'int64', 'example' => '21', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'ChatCompletion' => [ 'description' => 'The model response.', 'type' => 'object', 'properties' => [ 'Choices' => [ 'description' => 'The real-time generated text content.', 'type' => 'array', 'items' => [ 'description' => 'A role identifier.', 'type' => 'object', 'properties' => [ 'FinishReason' => ['description' => 'The stop reason.', 'type' => 'string', 'example' => 'finish', 'title' => ''], 'Index' => ['description' => 'The reply sequence number.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], 'Message' => [ 'description' => 'The large model reply response.', 'type' => 'object', 'properties' => [ 'Content' => ['description' => 'The document content.', 'type' => 'string', 'example' => 'The weather in Hangzhou is sunny.', 'title' => ''], 'Role' => ['description' => 'The message role:'."\n" .'- system'."\n" .'- user'."\n" .'- assistant', 'type' => 'string', 'example' => 'user', 'title' => ''], 'ToolCalls' => [ 'description' => 'The tool call response list.', 'type' => 'array', 'items' => [ 'description' => 'A tool call response.', 'type' => 'object', 'properties' => [ 'Id' => ['description' => 'The ID.', 'type' => 'string', 'example' => '"chatcmpl-c1bebafa-cc48-44e2-88c6-1a3572952f8e"', 'title' => ''], 'Function' => [ 'description' => 'The called function information.', 'type' => 'object', 'properties' => [ 'Arguments' => ['description' => 'The called function parameters.', 'type' => 'string', 'example' => '{"city":"hangzhou"}', 'title' => ''], 'Name' => ['description' => 'The called function name.', 'type' => 'string', 'example' => '"get_weather"', 'title' => ''], ], 'title' => '', 'example' => '', ], 'Index' => ['description' => 'The tool call sequence number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'ReasoningContent' => ['title' => '', 'description' => 'The model reasoning content.', 'type' => 'string', 'example' => 'Logical reasoning process'], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'Created' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1758529748', 'title' => ''], 'Id' => ['description' => 'The response ID.', 'type' => 'string', 'example' => '273e3fc7-8f56-4167-a1bb-d35d2f3b9043', 'title' => ''], 'Model' => ['description' => 'The model name used.', 'type' => 'string', 'example' => 'qwen-plus', 'title' => ''], 'Usage' => [ 'description' => 'The token usage of the large model output.', 'type' => 'object', 'properties' => [ 'CompletionTokens' => ['description' => 'The number of tokens consumed for generating content.', 'type' => 'integer', 'format' => 'int64', 'example' => '42', 'title' => ''], 'PromptTokens' => ['description' => 'The number of tokens consumed by the input prompt.', 'type' => 'integer', 'format' => 'int64', 'example' => '42', 'title' => ''], 'PromptTokensDetails' => [ 'description' => 'The prompt token details.', 'type' => 'object', 'properties' => [ 'CachedTokens' => ['description' => 'The number of tokens that hit the cache.', 'type' => 'integer', 'format' => 'int64', 'example' => '24', 'title' => ''], ], 'title' => '', 'example' => '', ], 'TotalTokens' => ['description' => 'The total number of tokens.', 'type' => 'integer', 'format' => 'int64', 'example' => '42', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'Message' => ['description' => 'The return message.', 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Status' => ['description' => 'The status. Valid values:'."\n" .'- **success**: Succeeded.'."\n" .'- **fail**: Failed.', 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Knowledge Base Chat API', 'summary' => 'Provides intelligent Q&A services by combining knowledge bases with large models.', 'description' => 'This API allows users to interact with a large model through specified knowledge base collections to obtain answers based on knowledge base content. It supports configuring various parameters to customize requests, including but not limited to database instance ID, knowledge retrieval parameters, model inference parameters, etc. Additionally, it provides a default system prompt template and allows users to customize system prompts.'."\n" ."\n" .'- **DBInstanceId**: Required. Specifies the database instance ID.'."\n" .'- **KnowledgeParams**: Optional. Contains parameters related to knowledge retrieval, such as retrieval content, merge strategies, etc.'."\n" .'- **ModelParams**: Required. Contains parameters related to model inference, such as message list, model name, etc.'."\n" .'- **PromptTemplate**: Optional. Used to customize the system prompt template.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:ChatWithKnowledgeBase', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"MultiCollectionRecallResult\\": {\\n \\"Entities\\": [\\n \\"{\'entities\': []}\\"\\n ],\\n \\"Matches\\": [\\n {\\n \\"Content\\": \\"AnalyticDB PostgreSQL vector database.\\",\\n \\"FileName\\": \\"process_info_19b9df4dc9ad4bf2b30eb2faa4a9a987.txt\\",\\n \\"FileURL\\": \\"http://viapi-customer-pop.oss-cn-shanghai.aliyuncs.com/b4d8_207196811002111319_570c0e199f03428f812ab21fcc00dd6a\\",\\n \\"Id\\": \\"273e3fc7-8f56-4167-a1bb-d35d2f3b9043\\",\\n \\"LoaderMetadata\\": \\"{\\\\\\"page\\\\\\":1}\\",\\n \\"Metadata\\": {\\n \\"key\\": \\"{\\\\\\"update_time\\\\\\":1749348435357,\\\\\\"title\\\\\\":\\\\\\"example\\\\\\"}\\"\\n },\\n \\"RerankScore\\": 0.1,\\n \\"RetrievalSource\\": 3,\\n \\"Score\\": 12,\\n \\"Vector\\": [\\n 0\\n ]\\n }\\n ],\\n \\"Relations\\": [\\n \\"{\'relations\': []}\\"\\n ],\\n \\"RequestId\\": \\"6B9E3255-4543-5B3B-9E00-6490CA64742B\\",\\n \\"Status\\": \\"success\\",\\n \\"Tokens\\": 42,\\n \\"Usage\\": {\\n \\"EmbeddingTokens\\": 21\\n }\\n },\\n \\"ChatCompletion\\": {\\n \\"Choices\\": [\\n {\\n \\"FinishReason\\": \\"finish\\",\\n \\"Index\\": 0,\\n \\"Message\\": {\\n \\"Content\\": \\"The weather in Hangzhou is sunny.\\",\\n \\"Role\\": \\"user\\",\\n \\"ToolCalls\\": [\\n {\\n \\"Id\\": \\"\\\\\\"chatcmpl-c1bebafa-cc48-44e2-88c6-1a3572952f8e\\\\\\"\\",\\n \\"Function\\": {\\n \\"Arguments\\": \\"{\\\\\\"city\\\\\\":\\\\\\"hangzhou\\\\\\"}\\",\\n \\"Name\\": \\"\\\\\\"get_weather\\\\\\"\\"\\n },\\n \\"Index\\": 1\\n }\\n ],\\n \\"ReasoningContent\\": \\"Logical reasoning process\\"\\n }\\n }\\n ],\\n \\"Created\\": 1758529748,\\n \\"Id\\": \\"273e3fc7-8f56-4167-a1bb-d35d2f3b9043\\",\\n \\"Model\\": \\"qwen-plus\\",\\n \\"Usage\\": {\\n \\"CompletionTokens\\": 42,\\n \\"PromptTokens\\": 42,\\n \\"PromptTokensDetails\\": {\\n \\"CachedTokens\\": 24\\n },\\n \\"TotalTokens\\": 42\\n }\\n },\\n \\"Message\\": \\"Successful\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'ChatWithKnowledgeBaseStream' => [ 'path' => '/', 'methods' => ['post'], 'schemes' => ['https', 'sse'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdb4XJLZD'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a region.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The ID of the region where the instance resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'KnowledgeParams', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The knowledge retrieval parameter object. If this parameter is not specified, only chat is performed.', 'type' => 'object', 'properties' => [ 'MergeMethod' => ['description' => 'The method for merging results from multiple knowledge bases. Default value: RRF. Valid values:'."\n" .'- RRF'."\n" .'- Weight.', 'type' => 'string', 'required' => false, 'example' => '"RRF"', 'title' => ''], 'MergeMethodArgs' => [ 'description' => 'The parameters for merging results from multiple knowledge bases.', 'type' => 'object', 'properties' => [ 'Rrf' => [ 'description' => 'The configurable parameters when MergeMethod is set to RRF.', 'type' => 'object', 'properties' => [ 'K' => ['description' => 'The k constant in the score calculation formula `1/(k+rank_i)`. The value must be a positive integer greater than 1.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'Weight' => [ 'description' => 'The configurable parameters when MergeMethod is set to Weight.', 'type' => 'object', 'properties' => [ 'Weights' => [ 'description' => 'The weight array for each SourceCollection.', 'type' => 'array', 'items' => ['description' => 'The weight for each SourceCollection.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0.01', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], 'RerankFactor' => ['description' => 'The reranking factor. If this value is not empty, the AISearch retrieve results are reranked. Valid values: 1 < RerankFactor <= 5.'."\n" .'> - Reranking is slow when document chunks are sparse.'."\n" .'> - The recommended number of reranked items (TopK × Factor, rounded up) should not exceed 50.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '5.0', 'title' => ''], 'RerankModel' => [ 'title' => '', 'description' => 'The reranking model parameters for performing an additional reranking on the merged results from multiple retrieval paths.', 'type' => 'object', 'properties' => [ 'Name' => ['title' => '', 'description' => 'The reranking model name. Valid values: qwen3-rerank, gte-rerank-v2.', 'type' => 'string', 'example' => 'qwen3-rerank', 'required' => false], 'Instruct' => ['title' => '', 'description' => 'This parameter can be set when RerankModel.Name is set to qwen3-rerank. Specifies a custom ranking task type description to guide the model to adopt different ranking strategies.', 'type' => 'string', 'example' => 'Given a web search query, retrieve relevant passages that answer the query'."\n", 'required' => false], ], 'required' => false, 'example' => '', ], 'SourceCollection' => [ 'description' => 'The knowledge base.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Collection' => ['description' => 'The name of the collection to recall.', 'type' => 'string', 'required' => true, 'example' => 'cloud_index_adb_50943_prod', 'title' => ''], 'Namespace' => ['description' => 'The namespace.'."\n" ."\n" .'> You can call the [ListNamespaces](~~2401502~~) operation to query the list.', 'type' => 'string', 'required' => false, 'example' => 'ddstar_vector', 'title' => ''], 'NamespacePassword' => ['description' => 'The password of the namespace.'."\n" ."\n" .'> This value is specified in the CreateNamespace operation.', 'type' => 'string', 'required' => true, 'example' => 'namespacePassword', 'title' => ''], 'QueryParams' => [ 'description' => 'The parameters related to retrieval from this knowledge base.', 'type' => 'object', 'properties' => [ 'Filter' => ['description' => 'The filter condition for the data to update, in SQL WHERE clause format.', 'type' => 'string', 'required' => false, 'example' => 'method_id=\'e41695f0-2851-40ac-b21d-dd337b60d71c\'', 'title' => ''], 'GraphEnhance' => ['description' => 'Specifies whether to enable knowledge graph enhancement. Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], 'GraphSearchArgs' => [ 'description' => 'The knowledge graph retrieval parameters.', 'type' => 'object', 'properties' => [ 'GraphTopK' => ['description' => 'The number of top entities and relationship edges to return. Default value: 60.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'HybridSearch' => ['description' => 'The multi-channel recall algorithm. Default value: empty (AISearch and full-text index scores are directly compared and sorted).'."\n" ."\n" .'Valid values:'."\n" ."\n" .'- RRF: Reciprocal rank fusion. A parameter k controls the fusion effect. For more information, see HybridSearchArgs.'."\n" .'- Weight: Weighted reranking. A parameter alpha controls the score weight between AISearch and full-text index results, then performs reranking. For more information, see HybridSearchArgs.'."\n" .'- Cascaded: Full-text index retrieve is performed first, followed by AISearch retrieve on the full-text index results.', 'type' => 'string', 'required' => false, 'example' => 'Cascaded', 'title' => ''], 'HybridSearchArgs' => [ 'description' => 'The algorithm parameters for multi-channel recall. RRF and Weight are supported:'."\n" ."\n" .'- RRF: The k constant in the score calculation formula `1/(k+rank_i)`. The value must be a positive integer greater than 1. Format:'."\n" .'```'."\n" .'{ '."\n" .' "RRF": {'."\n" .' "k": 60'."\n" .' }'."\n" .'}'."\n" .'```'."\n" ."\n" .'- Weight: The calculation formula is `alpha * vector_score + (1-alpha) * text_score`. The parameter alpha specifies the score weight between vector and full-text retrieval. Valid values: 0 to 1, where 0 indicates full-text only and 1 indicates vector only:'."\n" .'```'."\n" .'{ '."\n" .' "Weight": {'."\n" .' "alpha": 0.5'."\n" .' }'."\n" .'}'."\n" .'```.', 'type' => 'object', 'required' => false, 'additionalProperties' => ['description' => '双路召回的算法参数值', 'type' => 'any', 'example' => '{"RRF":{"k":60}}', 'title' => ''], 'title' => '', 'example' => '', ], 'Metrics' => ['description' => 'The method used to build the vector index. Valid values:'."\n" .'- l2: Euclidean distance.'."\n" .'- ip: inner product distance.'."\n" .'- cosine: cosine similarity.', 'type' => 'string', 'required' => false, 'example' => 'cosine', 'title' => ''], 'RecallWindow' => [ 'description' => 'The recall window. If this value is not empty, additional context is returned for retrieval results. The format is a two-element array: List, where -10 <= A <= 0 and 0 <= B <= 10.'."\n" .'> - Use this parameter when documents are segmented too finely and retrieval may lose contextual information.'."\n" .'> - Reranking takes priority over windowing. Reranking is performed first, followed by windowing.', 'type' => 'array', 'items' => ['description' => 'The recall window. If this value is not empty, additional context is returned for retrieval results. The format is a two-element array: List, where -10 <= A <= 0 and 0 <= B <= 10.'."\n" .'> - Use this parameter when documents are segmented too finely and retrieval may lose contextual information.'."\n" .'> - Reranking takes priority over windowing. Reranking is performed first, followed by windowing.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '[-1,1]', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], 'RerankFactor' => ['description' => 'The reranking factor. If this value is not empty, the AISearch retrieve results are reranked. Valid values: 1 < RerankFactor <= 5.'."\n" .'> - Reranking is slow when document chunks are sparse.'."\n" .'> - The recommended number of reranked items (TopK × Factor, rounded up) should not exceed 50.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '2.0', 'title' => ''], 'RerankModel' => [ 'title' => '', 'description' => 'The reranking model parameters.', 'type' => 'object', 'properties' => [ 'Name' => ['title' => '', 'description' => 'The reranking model name. Valid values: qwen3-rerank, gte-rerank-v2.', 'type' => 'string', 'example' => 'qwen3-rerank', 'required' => false], 'Instruct' => ['title' => '', 'description' => 'This parameter can be set when RerankModel.Name is set to qwen3-rerank. Specifies a custom ranking task type description to guide the model to adopt different ranking strategies.', 'type' => 'string', 'example' => 'Given a web search query, retrieve relevant passages that answer the query'."\n", 'required' => false], 'RerankMetadataFields' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], 'required' => false, 'example' => '', ], 'TopK' => ['description' => 'The number of top results to return.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '101', 'title' => ''], 'UseFullTextRetrieval' => ['description' => 'Specifies whether to use full-text index (multi-channel recall). Default value: false. Only AISearch retrieve is used.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'description' => '', 'title' => '', 'example' => '', ], 'required' => true, 'title' => '', 'example' => '', ], 'TopK' => ['description' => 'The number of top results to return after merging recall results from multiple vector collections.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'PromptParams', 'in' => 'query', 'schema' => ['description' => 'The system prompt template. The template must include {{ text_chunks }}, {{ user_system_prompt }}, {{ graph_entities }}, and {{ graph_relations }}. If not specified, this part does not take effect.', 'type' => 'string', 'required' => false, 'example' => '"参考以下知识回答问题:{{ text_chunks }}"'."\n", 'title' => ''], ], [ 'name' => 'ModelParams', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The large language model (LLM) invocation parameter object.', 'type' => 'object', 'properties' => [ 'MaxTokens' => ['description' => 'The maximum number of tokens to generate.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '8192', 'title' => ''], 'Messages' => [ 'description' => 'The message list.', 'type' => 'array', 'items' => [ 'description' => 'The message list.', 'type' => 'object', 'properties' => [ 'Content' => ['description' => 'The message content.', 'type' => 'string', 'required' => true, 'example' => 'You are a helpful assistant.', 'title' => ''], 'Role' => ['description' => 'The message role. Valid values:'."\n" ."\n" .'- system'."\n" .'- user'."\n" .'- assistant.', 'type' => 'string', 'required' => true, 'example' => 'user', 'title' => ''], ], 'required' => true, 'title' => '', 'example' => '', ], 'required' => true, 'title' => '', 'example' => '', ], 'Model' => ['description' => 'The name of the large language model to use. For valid values, see [Model Studio documentation](https://www.alibabacloud.com/help/en/model-studio/compatibility-of-openai-with-dashscope#eadfc13038jd5).', 'type' => 'string', 'required' => true, 'example' => 'qwen-plus', 'title' => ''], 'N' => ['description' => 'The number of candidate responses to generate.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], 'PresencePenalty' => ['description' => 'The presence penalty coefficient. Valid values: -2.0 to 2.0.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '1.0', 'title' => ''], 'Seed' => ['description' => 'The random seed.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '42', 'title' => ''], 'Stop' => [ 'description' => 'The list of stop words.', 'type' => 'array', 'items' => ['description' => 'The stop word.', 'type' => 'string', 'required' => false, 'example' => '"\\n"', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], 'Temperature' => ['description' => 'The sampling temperature. Valid values: 0 to 2.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0.6', 'title' => ''], 'Tools' => [ 'description' => 'The tool list.', 'type' => 'array', 'items' => [ 'description' => 'The tool details.', 'type' => 'object', 'properties' => [ 'Function' => [ 'description' => 'The function information.', 'type' => 'object', 'properties' => [ 'Description' => ['description' => 'The description of the function tool.', 'type' => 'string', 'required' => false, 'example' => 'Get weather.', 'title' => ''], 'Name' => ['description' => 'The name of the function tool.', 'type' => 'string', 'required' => false, 'example' => 'get_weather', 'title' => ''], 'Parameters' => ['description' => 'The JSON Schema of the function parameters.', 'type' => 'any', 'required' => false, 'example' => '{"type": "object", ...}'."\n", 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'title' => '', 'example' => '', ], 'TopP' => ['description' => 'The nucleus sampling probability threshold. Valid values: 0 to 1.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0.9'."\n", 'title' => ''], ], 'required' => true, 'title' => '', 'example' => '', ], ], [ 'name' => 'IncludeKnowledgeBaseResults', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to return recall results. Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'MultiCollectionRecallResult' => [ 'description' => 'The recall information from multiple knowledge bases.', 'type' => 'object', 'properties' => [ 'Entities' => [ 'description' => 'The entity details.', 'type' => 'array', 'items' => ['description' => 'The entity details.', 'type' => 'string', 'example' => '{\'entities\': []}', 'title' => ''], 'title' => '', 'example' => '', ], 'Matches' => [ 'description' => 'The recall items.', 'type' => 'array', 'items' => [ 'description' => 'The recall items.', 'type' => 'object', 'properties' => [ 'Content' => ['description' => 'The document content.', 'type' => 'string', 'example' => 'AnalyticDB PostgreSQL vector database.', 'title' => ''], 'FileName' => ['description' => 'The file name.', 'type' => 'string', 'example' => 'a14b0221-e3f2-4cf2-96cd-b3c293510770.jpg', 'title' => ''], 'FileURL' => ['description' => 'The public URL of the image in the query result. The URL is valid for 2 hours by default.'."\n" ."\n" .'You can specify a custom validity period by using the UrlExpiration parameter.', 'type' => 'string', 'example' => 'http://dailyshort-sh.oss-cn-shanghai.aliyuncs.com/vod-8efba5/f06147795c6c71f080605420848d0302/0ca34d5743a84bf7c68f489a60715dac-ld.mp4', 'title' => ''], 'Id' => ['description' => 'The unique ID of this vector data entry.'."\n" ."\n" .'> If this value is empty, the database automatically generates a UUID. If this value is not empty and conflicts with an existing ID in the database, the API data overwrites the existing value in the database.', 'type' => 'string', 'example' => '273e3fc7-8f56-4167-a1bb-d35d2f3b9043', 'title' => ''], 'LoaderMetadata' => ['description' => 'The metadata generated by the document loader during loading.', 'type' => 'any', 'example' => '{"page":1}'."\n", 'title' => ''], 'Metadata' => [ 'description' => 'The metadata.', 'type' => 'object', 'additionalProperties' => ['description' => '元数据值', 'type' => 'any', 'example' => '{"update_time":"1754446789199","is_publish":"1"}', 'title' => ''], 'title' => '', 'example' => '', ], 'RerankScore' => ['description' => 'The reranking score.', 'type' => 'number', 'format' => 'double', 'example' => '0.12', 'title' => ''], 'RetrievalSource' => ['description' => 'The source of the retrieve result. A value of 1 indicates AISearch retrieve, 2 indicates full-text index retrieve, and 3 indicates multi-channel recall.', 'type' => 'integer', 'format' => 'int64', 'example' => '0.12', 'title' => ''], 'Score' => ['description' => 'The similarity score of this data entry. The scoring algorithm is related to the algorithm specified during index creation (l2, ip, or cosine).', 'type' => 'number', 'format' => 'double', 'example' => '10', 'title' => ''], 'Vector' => [ 'description' => 'The vector data.', 'type' => 'array', 'items' => ['description' => 'The vector data.', 'type' => 'number', 'format' => 'double', 'example' => '[]', 'title' => ''], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'Relations' => [ 'description' => 'The relation names.', 'type' => 'array', 'items' => ['description' => 'The relationship edge details.', 'type' => 'string', 'example' => '{\'relations\': []}', 'title' => ''], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Status' => ['description' => 'The API execution status. Valid values:'."\n" .'- **success**: The execution is successful.'."\n" .'- **fail**: The execution failed.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Tokens' => ['description' => 'The number of tokens consumed.', 'type' => 'integer', 'format' => 'int64', 'example' => '42', 'title' => ''], 'Usage' => [ 'description' => 'The number of tokens or entries consumed by document understanding or embedding.', 'type' => 'object', 'properties' => [ 'EmbeddingTokens' => ['description' => 'The number of tokens used during vectorization.'."\n" ."\n" .'> A token is the smallest unit into which input text is segmented. A token can be a word, a phrase, a punctuation mark, or a character.', 'type' => 'integer', 'format' => 'int64', 'example' => '158', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'ChatCompletion' => [ 'description' => 'The model response.', 'type' => 'object', 'properties' => [ 'Choices' => [ 'description' => 'The text content generated in real time.', 'type' => 'array', 'items' => [ 'description' => 'The text content generated in real time.', 'type' => 'object', 'properties' => [ 'FinishReason' => ['description' => 'The stop reason.', 'type' => 'string', 'example' => 'finish', 'title' => ''], 'Index' => ['description' => 'The response index.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], 'Message' => [ 'description' => 'The large language model response.', 'type' => 'object', 'properties' => [ 'Content' => ['description' => 'The document content.', 'type' => 'string', 'example' => 'The weather in Hangzhou is sunny.', 'title' => ''], 'Role' => ['description' => 'The message role. Valid values:'."\n" ."\n" .'- system'."\n" .'- user'."\n" .'- assistant.', 'type' => 'string', 'example' => 'user', 'title' => ''], 'ToolCalls' => [ 'description' => 'The tool invocation response.', 'type' => 'array', 'items' => [ 'description' => 'The tool invocation response.', 'type' => 'object', 'properties' => [ 'Id' => ['description' => 'ID。', 'type' => 'string', 'example' => '"chatcmpl-c1bebafa-cc48-44e2-88c6-1a3572952f8e"'."\n", 'title' => ''], 'Function' => [ 'description' => 'The information about the called function.', 'type' => 'object', 'properties' => [ 'Arguments' => ['description' => 'The arguments of the called function.', 'type' => 'string', 'example' => '{"city":"hangzhou"}'."\n", 'title' => ''], 'Name' => ['description' => 'The name of the called function.', 'type' => 'string', 'example' => '"get_weather"'."\n", 'title' => ''], ], 'title' => '', 'example' => '', ], 'Index' => ['description' => 'The index of this tool in the Input request parameter, starting from 0.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'ReasoningContent' => ['title' => '', 'description' => 'The chain-of-thought content of the model.', 'type' => 'string', 'example' => 'Logical reasoning process'], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'Created' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1758529748', 'title' => ''], 'Id' => ['description' => 'The response ID.', 'type' => 'string', 'example' => '273e3fc7-8f56-4167-a1bb-d35d2f3b9043'."\n", 'title' => ''], 'Model' => ['description' => 'The name of the model used.', 'type' => 'string', 'example' => 'qwen-plus'."\n", 'title' => ''], 'Usage' => [ 'description' => 'The number of tokens used by the large language model output.', 'type' => 'object', 'properties' => [ 'CompletionTokens' => ['description' => 'The number of tokens consumed for generating the content.', 'type' => 'integer', 'format' => 'int64', 'example' => '42', 'title' => ''], 'PromptTokens' => ['description' => 'The number of tokens consumed by the input prompt.', 'type' => 'integer', 'format' => 'int64', 'example' => '42', 'title' => ''], 'PromptTokensDetails' => [ 'description' => 'The prompt token details.', 'type' => 'object', 'properties' => [ 'CachedTokens' => ['description' => 'The number of tokens that hit the cache.', 'type' => 'integer', 'format' => 'int64', 'example' => '24', 'title' => ''], ], 'title' => '', 'example' => '', ], 'TotalTokens' => ['description' => 'The total number of tokens.', 'type' => 'integer', 'format' => 'int64', 'example' => '42', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Status' => ['description' => 'The status. Valid values:'."\n" .'- **success**: Successful.'."\n" .'- **fail**: Failed.', 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Knowledge base-based chat API - streaming', 'summary' => 'Provides AI chat services by combining knowledge bases with large language models. This is a streaming API called through SSE or the Java asynchronous SDK.', 'description' => 'This API allows you to interact with a large language model by using specified knowledge base collections to obtain answers based on knowledge base content. You can configure various parameters to customize requests, including but not limited to the database instance ID, knowledge retrieval parameters, and model inference parameters. A default system prompt template is provided, and you can also customize the system prompt.'."\n" ."\n" .'- DBInstanceId: Required. Specifies the database instance ID.'."\n" .'- KnowledgeParams: Optional. Contains knowledge retrieval parameters such as retrieval content and merge strategy.'."\n" .'- ModelParams: Required. Contains model inference parameters such as the message list and model name.'."\n" .'- PromptTemplate: Optional. Specifies a custom system prompt template.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ChatWithKnowledgeBaseStream', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"MultiCollectionRecallResult\\": {\\n \\"Entities\\": [\\n \\"{\'entities\': []}\\"\\n ],\\n \\"Matches\\": [\\n {\\n \\"Content\\": \\"AnalyticDB PostgreSQL vector database.\\",\\n \\"FileName\\": \\"a14b0221-e3f2-4cf2-96cd-b3c293510770.jpg\\",\\n \\"FileURL\\": \\"http://dailyshort-sh.oss-cn-shanghai.aliyuncs.com/vod-8efba5/f06147795c6c71f080605420848d0302/0ca34d5743a84bf7c68f489a60715dac-ld.mp4\\",\\n \\"Id\\": \\"273e3fc7-8f56-4167-a1bb-d35d2f3b9043\\",\\n \\"LoaderMetadata\\": \\"{\\\\\\"page\\\\\\":1}\\\\n\\",\\n \\"Metadata\\": {\\n \\"key\\": \\"{\\\\\\"update_time\\\\\\":\\\\\\"1754446789199\\\\\\",\\\\\\"is_publish\\\\\\":\\\\\\"1\\\\\\"}\\"\\n },\\n \\"RerankScore\\": 0.12,\\n \\"RetrievalSource\\": 0.12,\\n \\"Score\\": 10,\\n \\"Vector\\": [\\n 0\\n ]\\n }\\n ],\\n \\"Relations\\": [\\n \\"{\'relations\': []}\\"\\n ],\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Status\\": \\"success\\",\\n \\"Tokens\\": 42,\\n \\"Usage\\": {\\n \\"EmbeddingTokens\\": 158\\n }\\n },\\n \\"ChatCompletion\\": {\\n \\"Choices\\": [\\n {\\n \\"FinishReason\\": \\"finish\\",\\n \\"Index\\": 0,\\n \\"Message\\": {\\n \\"Content\\": \\"The weather in Hangzhou is sunny.\\",\\n \\"Role\\": \\"user\\",\\n \\"ToolCalls\\": [\\n {\\n \\"Id\\": \\"\\\\\\"chatcmpl-c1bebafa-cc48-44e2-88c6-1a3572952f8e\\\\\\"\\\\n\\",\\n \\"Function\\": {\\n \\"Arguments\\": \\"{\\\\\\"city\\\\\\":\\\\\\"hangzhou\\\\\\"}\\\\n\\",\\n \\"Name\\": \\"\\\\\\"get_weather\\\\\\"\\\\n\\"\\n },\\n \\"Index\\": 1\\n }\\n ],\\n \\"ReasoningContent\\": \\"Logical reasoning process\\"\\n }\\n }\\n ],\\n \\"Created\\": 1758529748,\\n \\"Id\\": \\"273e3fc7-8f56-4167-a1bb-d35d2f3b9043\\\\n\\",\\n \\"Model\\": \\"qwen-plus\\\\n\\",\\n \\"Usage\\": {\\n \\"CompletionTokens\\": 42,\\n \\"PromptTokens\\": 42,\\n \\"PromptTokensDetails\\": {\\n \\"CachedTokens\\": 24\\n },\\n \\"TotalTokens\\": 42\\n }\\n },\\n \\"Message\\": \\"Successful\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'CheckHadoopDataSource' => [ 'summary' => 'Checks the configurations of a Hadoop data source.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbYL5VZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxx', 'title' => ''], ], [ 'name' => 'DataSourceId', 'in' => 'query', 'schema' => ['description' => 'The data source ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '123', 'title' => ''], ], [ 'name' => 'CheckDir', 'in' => 'query', 'schema' => ['description' => 'The Hadoop path that you want to check.'."\n", 'type' => 'string', 'required' => true, 'example' => 'tmp', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Message' => ['description' => 'The returned message. If the service failed, an error message is returned. Otherwise, a pair of double quotation marks ("") is returned.'."\n", 'type' => 'string', 'example' => 'serivce unavaliable', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'Status' => ['description' => 'The status of the service. Valid values:'."\n" ."\n" .'* Running'."\n" .'* Failed'."\n", 'type' => 'string', 'example' => 'Running', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"serivce unavaliable\\",\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"Status\\": \\"Running\\"\\n}","type":"json"}]', 'title' => 'CheckHadoopDataSource', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckHadoopDataSource'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'gpdb:CheckHadoopDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'CheckHadoopNetConnection' => [ 'summary' => 'Checks the network connectivity of a Hadoop external data source.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '198701', 'abilityTreeNodes' => ['FEATUREgpdbOGW4DR'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxx', 'title' => ''], ], [ 'name' => 'EmrInstanceId', 'in' => 'query', 'schema' => ['description' => 'EMR instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-xxx', 'title' => ''], ], [ 'name' => 'DataSourceId', 'in' => 'query', 'schema' => ['description' => '1. Either DataSourceId or EmrInstanceId must be specified as input, otherwise an error will occur.'."\n" .'2. If both of the above parameters are specified, EmrInstanceId will be used preferentially.'."\n" .'3. If the data source specified by DataSourceId is a self-built Hadoop cluster, an error will occur directly.', 'type' => 'string', 'required' => false, 'example' => '126', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ConnectionMessage' => ['description' => 'Return message: Returns error information if the connection fails, otherwise returns an empty string ("").', 'type' => 'string', 'example' => 'connection timeout', 'title' => ''], 'ConnectionStatus' => ['description' => 'Connection status:'."\n" ."\n" .'- Network connected: Success'."\n" ."\n" .'- Network not connected: Failed', 'type' => 'string', 'example' => 'Success', 'title' => ''], 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ConnectionMessage\\": \\"connection timeout\\",\\n \\"ConnectionStatus\\": \\"Success\\",\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","type":"json"}]', 'title' => 'CheckHadoopNetConnection', 'changeSet' => [ ['createdAt' => '2024-08-20T13:41:28.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckHadoopNetConnection'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'gpdb:CheckHadoopNetConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'CheckJDBCSourceNetConnection' => [ 'summary' => 'Check the network connectivity of the JDBC connection string', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '198716', 'abilityTreeNodes' => ['FEATUREgpdbOGW4DR'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The ID of the region where the instance is located.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxx', 'title' => ''], ], [ 'name' => 'JdbcConnectionString', 'in' => 'query', 'schema' => ['description' => 'JDBC connection string.', 'type' => 'string', 'required' => false, 'example' => 'jdbc:mysql://rm-xxx.mysql.rds.aliyuncs.com:3306/testadmin', 'title' => ''], ], [ 'name' => 'DataSourceId', 'in' => 'query', 'schema' => ['description' => 'Either DataSourceId or JdbcConnectionString must be specified as input, otherwise an error will occur. If both parameters are specified, JdbcConnectionString will be used preferentially.', 'type' => 'string', 'required' => false, 'example' => '123', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ConnectionMessage' => ['description' => 'Return message: Error message returned when the connection fails, otherwise returns an empty string ("").', 'type' => 'string', 'example' => 'connection timeout', 'title' => ''], 'ConnectionStatus' => ['description' => 'Service status:'."\n" ."\n" .'- Network connected: Success'."\n" ."\n" .'- Network not connected: Failed', 'type' => 'string', 'example' => 'Success', 'title' => ''], 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ConnectionMessage\\": \\"connection timeout\\",\\n \\"ConnectionStatus\\": \\"Success\\",\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","type":"json"}]', 'title' => 'CheckJDBCSourceNetConnection', 'changeSet' => [ ['createdAt' => '2024-08-20T13:41:28.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckJDBCSourceNetConnection'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'gpdb:CheckJDBCSourceNetConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'CheckServiceLinkedRole' => [ 'summary' => 'Checks whether a service-linked role is created.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbYL5VZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The ID of the region. You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'HasServiceLinkedRole' => ['description' => 'Indicates whether an SLR is created.'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''], 'RegionId' => ['description' => 'The ID of the region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HasServiceLinkedRole\\": \\"true\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","type":"json"}]', 'title' => 'CheckServiceLinkedRole', 'changeSet' => [ ['createdAt' => '2022-08-23T12:48:30.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckServiceLinkedRole'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:CheckServiceLinkedRole', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', ], 'CloneDBInstance' => [ 'summary' => 'Restores data to a new AnalyticDB for PostgreSQL instance.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '233253', 'abilityTreeNodes' => ['FEATUREgpdb4JECI2'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the new instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~196830~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'SrcDbInstanceName', 'in' => 'query', 'schema' => ['description' => 'The ID of the source instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp***************', 'title' => ''], ], [ 'name' => 'BackupId', 'in' => 'query', 'schema' => ['description' => 'The ID of the backup set.'."\n" ."\n" .'> You can call the [DescribeDataBackups](~~210093~~) operation to query the IDs of all backup sets of the instance. Only snapshot backup sets are supported.'."\n", 'type' => 'string', 'required' => true, 'example' => '1111111111', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'title' => 'CloneDBInstance', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CloneDBInstance'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:CloneDBInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'CreateAIService' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including instance IDs.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Type', 'in' => 'query', 'schema' => ['description' => 'The service type. Currently, only drama is supported.', 'type' => 'string', 'required' => true, 'example' => 'drama', 'title' => ''], ], [ 'name' => 'ServiceAccount', 'in' => 'query', 'schema' => ['description' => 'The service account. The following limits apply:'."\n" .'- The account name can contain lowercase letters, digits, and underscores (_).'."\n" .'- The account name must start with a lowercase letter and end with a lowercase letter or digit.'."\n" .'- The account name cannot start with gp.'."\n" .'- The account name must be 2 to 16 characters in length.', 'type' => 'string', 'required' => true, 'example' => 'dramauser', 'title' => ''], ], [ 'name' => 'ServiceAccountPassword', 'in' => 'query', 'schema' => ['description' => 'The password of the service account. The following limits apply:'."\n" .'- The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.'."\n" .'- Supported special characters: !@#$%^&*()_+-='."\n" .'- The password must be 8 to 32 characters in length.', 'type' => 'string', 'required' => true, 'example' => '123456Aa!', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description.', 'type' => 'string', 'required' => false, 'example' => 'dramatest', 'title' => ''], ], [ 'name' => 'SecurityIPList', 'in' => 'query', 'schema' => ['description' => 'The list of IP addresses in IP address whitelist group. You can specify up to 1,000 IP addresses, separated by commas (,). The value 127.0.0.1 indicates that no external IP addresses are allowed to access the instance. The following formats are supported:'."\n" .'- 10.23.12.24 (IP address)'."\n" .'- 10.23.12.24/24 (CIDR block. The value /24 indicates the length of the prefix in the address, which ranges from 1 to 32.)'."\n" ."\n" .'> After the service is created, you can call the ModifyAIServiceSecurityIps operation to modify IP address whitelist.', 'type' => 'string', 'required' => false, 'example' => '127.0.0.1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'drama-123456', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Create an AI service', 'summary' => 'Creates an AI service.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:CreateAIService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"ServiceId\\": \\"drama-123456\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'CreateAccount' => [ 'summary' => 'Creates an initial account for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '8414', 'abilityTreeNodes' => ['FEATUREgpdb2U0VE3'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp***************', 'title' => ''], ], [ 'name' => 'DatabaseName', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test01', 'title' => ''], ], [ 'name' => 'AccountName', 'in' => 'query', 'schema' => ['description' => 'The name of the initial account.'."\n" ."\n" .'* The name can contain lowercase letters, digits, and underscores (\\_).'."\n" .'* The name must start with a lowercase letter and end with a lowercase letter or a digit.'."\n" .'* The name cannot start with gp.'."\n" .'* The name must be 2 to 16 characters in length.', 'type' => 'string', 'required' => true, 'example' => 'testacc02', 'title' => ''], ], [ 'name' => 'AccountPassword', 'in' => 'query', 'schema' => ['description' => 'The password of the initial account.'."\n" .'* The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.'."\n" .'* Special characters include `! @ # $ % ^ & * ( ) _ + - =`'."\n" .'* The password must be 8 to 32 characters in length.', 'type' => 'string', 'required' => true, 'example' => 'Pw123456', 'title' => ''], ], [ 'name' => 'AccountDescription', 'in' => 'query', 'schema' => ['description' => 'The description of the initial account.', 'type' => 'string', 'required' => false, 'example' => 'testacc02', 'title' => ''], ], [ 'name' => 'AccountType', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => [ 'description' => 'The type of the initial account. Default value: Super, which specifies a privileged account. To create a standard account, set the value to Normal.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Super', 'default' => 'Super', 'enum' => ['Super', 'Normal'], 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'D4D4BE8A-DD46-440A-BFCD-EE**********', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D4D4BE8A-DD46-440A-BFCD-EE**********\\"\\n}","errorExample":""},{"type":"xml","example":"\\n D4D4BE8A-DD46-440A-BFCD-EE**********\\n","errorExample":""}]', 'title' => 'CreateAccount', 'description' => '* Before you can use an AnalyticDB for PostgreSQL instance, you must create an initial account for the instance.'."\n" .'* 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~~).'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2024-09-26T16:26:28.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-08-20T13:42:18.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAccount'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateAccount', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'CreateBackup' => [ 'summary' => 'Creates a backup set.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '233253', 'abilityTreeNodes' => ['FEATUREgpdbS95BLZ'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'BackupJobId' => ['description' => 'The backup job ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"BackupJobId\\": 123\\n}","type":"json"}]', 'title' => 'CreateBackup', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateBackup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'CreateBranch' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID. This parameter is required when you create a primary branch. When you create a child branch, the region is inherited from the primary branch by default.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The ID of the Supabase project that corresponds to the primary branch.', 'type' => 'string', 'required' => true, 'example' => 'spb-xxxx', 'title' => ''], ], [ 'name' => 'ParentBranchId', 'in' => 'query', 'schema' => ['description' => 'The ID of the parent branch. This parameter specifies the parent branch for the new branch or query condition.', 'type' => 'string', 'required' => true, 'example' => 'br-main', 'title' => ''], ], [ 'name' => 'BranchName', 'in' => 'query', 'schema' => ['description' => 'The branch name.', 'type' => 'string', 'required' => true, 'example' => 'dev', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description of the branch.', 'type' => 'string', 'required' => false, 'example' => 'test branch', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The list of branch tags.', 'type' => 'array', 'items' => [ 'description' => 'The tag object, which contains a tag key and a tag value.', 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'env', 'title' => ''], 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'dev', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'maxItems' => 21, 'title' => '', 'example' => '', ], ], [ 'name' => 'InitSource', 'in' => 'query', 'schema' => ['description' => 'The initialization source of the branch.'."\n" ."\n" .'Valid values:'."\n" .'- ParentData: copies the schema and data from the parent branch. This is the default value.'."\n" .'- SchemaOnly: copies only the schema structure.', 'type' => 'string', 'required' => false, 'default' => 'ParentData', 'example' => 'ParentData', 'title' => ''], ], [ 'name' => 'ParentTimestamp', 'in' => 'query', 'schema' => ['description' => 'The point in time for data synchronization when creating a branch from the parent branch. The value is in the ISO 8601 UTC format.'."\n" ."\n" .'Default value: the current time.', 'type' => 'string', 'required' => false, 'example' => '2026-04-08T09:11:12Z', 'title' => ''], ], [ 'name' => 'ParentLsn', 'in' => 'query', 'schema' => ['description' => 'The log sequence number (LSN) selected when creating a branch from the parent branch.', 'type' => 'string', 'required' => false, 'example' => '0/3522648', 'title' => ''], ], [ 'name' => 'Protected', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable branch protection.'."\n" ."\n" .'Valid values:'."\n" .'- true: Enables branch protection.'."\n" .'- false: Disables branch protection. This is the default value.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''], ], [ 'name' => 'ExpiresAt', 'in' => 'query', 'schema' => ['description' => 'The time when the branch automatically expires and is deleted. The value is in the ISO 8601 UTC format.', 'type' => 'string', 'required' => false, 'example' => '2026-10-08T09:11:12Z', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => ['description' => 'The client idempotency token. This token ensures the idempotence of retry requests.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426614174000', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D****', 'title' => ''], 'BranchId' => ['description' => 'The branch ID, which uniquely identifies a Supabase branch.', 'type' => 'string', 'example' => 'br-xxxx', 'title' => ''], 'ProjectId' => ['description' => 'The ID of the Supabase project that corresponds to the primary branch.', 'type' => 'string', 'example' => 'spb-xxxx', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Create a branch', 'summary' => 'Creates a Supabase project branch.', 'description' => 'Creates a new Supabase branch based on a specified parent branch. By default, a child branch inherits the region, network, storage, and other resource configurations from the primary branch.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateBranch', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D****\\",\\n \\"BranchId\\": \\"br-xxxx\\",\\n \\"ProjectId\\": \\"spb-xxxx\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'CreateCollection' => [ 'summary' => 'Create a vector dataset.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182772', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a specific region.', 'type' => 'string', 'required' => false, 'example' => 'gp-bp152460513z****', 'title' => ''], ], [ 'name' => 'ManagerAccount', 'in' => 'query', 'schema' => ['description' => 'The name of the management account that has the `rds_superuser` privilege.'."\n" ."\n" .'> You can call the [CreateAccount](~~2361789~~) operation to create an account.', 'type' => 'string', 'required' => true, 'example' => 'testaccount', 'title' => ''], ], [ 'name' => 'ManagerAccountPassword', 'in' => 'query', 'schema' => ['description' => 'The password of the management account.', 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The namespace.'."\n" ."\n" .'> You can call the [CreateNamespace](~~2401495~~) operation to create a namespace or the [ListNamespaces](~~2401502~~) operation to list existing namespaces.', 'type' => 'string', 'default' => 'public', 'required' => false, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the collection to create.'."\n" ."\n" .'> The name must comply with PostgreSQL object naming conventions.', 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'Dimension', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['description' => 'The vector dimension.'."\n" ."\n" .'> If you specify this parameter, a vector index is created. In subsequent calls to the [UpsertCollectionData](~~2401493~~) operation, the length of `Rows.Vector` must match this dimension. If you do not specify this parameter, you must call the [CreateVectorIndex](~~2401499~~) operation to create an index later.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1024', 'title' => ''], ], [ 'name' => 'FullTextRetrievalFields', 'in' => 'query', 'schema' => ['description' => 'The fields to use for full-text search. Use commas (`,`) to separate multiple field names. These fields must be keys defined in the `Metadata` parameter.', 'type' => 'string', 'required' => false, 'example' => 'title,content', 'title' => ''], ], [ 'name' => 'Metadata', 'in' => 'query', 'schema' => ['description' => 'A JSON string that defines the metadata schema as a map. The keys are field names, and the values are their corresponding data types.'."\n" ."\n" .'> Supported data types'."\n" .'>'."\n" .'> - For a list of supported data types, see [Data types](~~424383~~).'."\n" .'>'."\n" .'> - The `money` data type is not supported.'."\n" ."\n" .'>'."\n" ."\n" .'The field names `id`, `vector`, `to_tsvector`, and `source` are reserved and cannot be used.'."\n" ."\n" .'>', 'type' => 'string', 'required' => true, 'example' => '{"title":"text","content":"text","response":"int"}', 'title' => ''], ], [ 'name' => 'Parser', 'in' => 'query', 'schema' => ['description' => 'The parser for full-text search. The default is `zh_cn`.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The ID of the region where the instance is located.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Metrics', 'in' => 'query', 'schema' => [ 'description' => 'The distance metric used to build the vector index. Valid values:'."\n" ."\n" .'- `l2`: Euclidean distance.'."\n" ."\n" .'- `ip`: dot product.'."\n" ."\n" .'- `cosine`: cosine similarity.', 'type' => 'string', 'enum' => ['l2', 'ip', 'cosine'], 'required' => false, 'example' => 'cosine', 'title' => '', ], ], [ 'name' => 'HnswM', 'in' => 'query', 'schema' => ['description' => 'The maximum number of neighbors for the HNSW algorithm. You do not typically need to set this parameter, as the system automatically determines a value based on the vector dimension.'."\n" ."\n" .'> Value range:'."\n" .'>'."\n" .'> - For AnalyticDB for PostgreSQL V6.0 instances: 1 to 1000.'."\n" .'>'."\n" .'> - For AnalyticDB for PostgreSQL V7.0 instances: 2 to 100. The default value is 16.'."\n" ."\n" .'> We recommend that you set this parameter based on the vector dimension:'."\n" .'>'."\n" .'> - 16 for dimensions less than or equal to 384.'."\n" .'>'."\n" .'> - 32 for dimensions greater than 384 and less than or equal to 768.'."\n" .'>'."\n" .'> - 64 for dimensions greater than 768 and less than or equal to 1024.'."\n" .'>'."\n" .'> - 128 for dimensions greater than 1024.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '1000', 'minimum' => '1', 'required' => false, 'example' => '64', 'title' => ''], ], [ 'name' => 'HnswEfConstruction', 'in' => 'query', 'schema' => ['description' => 'The size of the candidate set for HNSW index construction. The value must be greater than or equal to `2 * HnswM`.'."\n" ."\n" .'> Value range:'."\n" .'>'."\n" .'> - For AnalyticDB for PostgreSQL V6.0 instances: 40 to 4000.'."\n" .'>'."\n" .'> - For AnalyticDB for PostgreSQL V7.0 instances: 4 to 1000. The default value is 64.', 'type' => 'string', 'required' => false, 'example' => '128', 'title' => ''], ], [ 'name' => 'PqEnable', 'in' => 'query', 'schema' => [ 'description' => 'Specifies whether to enable Product Quantization (PQ) for index acceleration. This is recommended for datasets with more than 500,000 entries. Valid values:'."\n" ."\n" .'- `0`: Disabled.'."\n" ."\n" .'- `1`: (Default) Enabled.', 'type' => 'integer', 'format' => 'int32', 'enum' => ['0', '1'], 'required' => false, 'example' => '1', 'title' => '', ], ], [ 'name' => 'ExternalStorage', 'in' => 'query', 'schema' => [ 'description' => 'Specifies whether to use `mmap` to build the HNSW index. The default value is 0. We recommend setting this to 1 if your data does not require deletion and you need high-performance data ingestion.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'- `0`: (Default) Builds the index by using segmented page storage. This mode can use the `shared_buffer` in PostgreSQL for caching and supports `DELETE` and `UPDATE` operations.'."\n" ."\n" .'- `1`: Builds the index by using `mmap`. This mode does not support `DELETE` or `UPDATE` operations.'."\n" ."\n" .'>'."\n" ."\n" .'The `ExternalStorage` parameter is available only for AnalyticDB for PostgreSQL v6.0 instances and is not supported in v7.0.'."\n" ."\n" .'>', 'type' => 'integer', 'format' => 'int32', 'enum' => ['0', '1'], 'required' => false, 'example' => '0', 'title' => '', ], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace, which contains multiple database instances. You must specify either `WorkspaceId` or `DBInstanceId`. If both are specified, `WorkspaceId` takes precedence.', 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], [ 'name' => 'MetadataIndices', 'in' => 'query', 'schema' => ['description' => 'The scalar index fields. Separate multiple fields with commas (`,`). The fields must be keys that are defined in `Metadata`.', 'type' => 'string', 'required' => false, 'example' => 'title', 'title' => ''], ], [ 'name' => 'SupportSparse', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable support for sparse vectors. The default value is `false`.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'SparseVectorIndexConfig', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The configuration for the sparse vector index. If specified, a sparse vector index is created.', 'type' => 'object', 'properties' => [ 'HnswM' => ['description' => 'The maximum number of neighbors for the HNSW algorithm. You do not typically need to set this parameter, as the system automatically determines a value based on the vector dimension.'."\n" ."\n" .'> Value range:'."\n" .'>'."\n" .'> - For AnalyticDB for PostgreSQL V6.0 instances: 1 to 1000.'."\n" .'>'."\n" .'> - For AnalyticDB for PostgreSQL V7.0 instances: 2 to 100. The default value is 16.'."\n" ."\n" .'> We recommend that you set this parameter based on the vector dimension:'."\n" .'>'."\n" .'> - 16 for dimensions less than or equal to 384.'."\n" .'>'."\n" .'> - 32 for dimensions greater than 384 and less than or equal to 768.'."\n" .'>'."\n" .'> - 64 for dimensions greater than 768 and less than or equal to 1024.'."\n" .'>'."\n" .'> - 128 for dimensions greater than 1024.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '64', 'title' => ''], 'HnswEfConstruction' => ['description' => 'The size of the candidate set for HNSW index construction. The value must be an integer from 4 to 1,000. The default is 64.'."\n" ."\n" .'> This parameter is required only for AnalyticDB for PostgreSQL V7.0 instances, and its value must be greater than or equal to `2 * HnswM`.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '128', 'title' => ''], 'Algorithm' => ['description' => 'The vector index algorithm.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'- `hnswflat`: (Default) An HNSW index without quantization compression.'."\n" ."\n" .'- `novam`: A graph index without quantization compression. This algorithm is suitable for high-performance scenarios, such as real-time recommendations.', 'type' => 'string', 'required' => false, 'example' => 'hnswflat', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'VectorIndexConfig', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'Nlist' => ['description' => 'The number of lists (partitions) for a `novad` index. The value must be an integer from 2 to 1,073,741,824. The default is 256.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '256', 'title' => ''], 'RabitqBits' => ['description' => 'The number of bits for `rabitq` compression. The value must be an integer from 1 to 8. The default is 3.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], ], 'description' => 'The configuration for the dense vector index.', 'title' => '', 'example' => '', 'required' => false, ], ], [ 'name' => 'Algorithm', 'in' => 'query', 'schema' => ['description' => 'The vector index algorithm.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'- `hnswflat`: (Default) An HNSW index without quantization compression.'."\n" ."\n" .'- `novam`: A graph index without quantization compression. This algorithm is suitable for high-performance scenarios, such as real-time recommendations.'."\n" ."\n" .'- `novad`: A partitioned index with `rabitq` quantization. This algorithm is suitable for large-scale, low-cost retrieval scenarios.', 'type' => 'string', 'required' => false, 'example' => 'hnswflat', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'create successfully', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'- **success**: The operation succeeded.'."\n" ."\n" .'- **fail**: The operation failed.', 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"create successfully\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'Create a vector dataset ', 'requestParamsDescription' => '> After creating a collection, use [DescribeCollection](~~2401507~~) to view it.', 'changeSet' => [ ['createdAt' => '2025-03-11T17:01:37.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-01-14T13:08:25.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-12-12T13:18:03.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-08-04T13:55:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-01-09T12:35:39.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-11-07T11:35:34.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-08-08T12:18:50.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCollection'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateCollection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], 'translator' => 'manual', ], 'CreateDBInstance' => [ 'summary' => 'Create an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeCode' => '8415', 'abilityTreeNodes' => ['FEATUREgpdbAXSDJ9'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The ID of the region for the instance.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the IDs of available regions.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ZoneId', 'in' => 'query', 'schema' => ['description' => 'The ID of the zone for the instance.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the IDs of available zones.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou-i', 'title' => ''], ], [ 'name' => 'EngineVersion', 'in' => 'query', 'schema' => ['description' => 'The database engine version. Valid values:'."\n" ."\n" .'- **6.0**'."\n" ."\n" .'- **7.0**', 'type' => 'string', 'required' => true, 'example' => '6.0', 'title' => ''], ], [ 'name' => 'Engine', 'in' => 'query', 'schema' => ['description' => 'The database engine. Set the value to **gpdb**.', 'type' => 'string', 'required' => true, 'example' => 'gpdb', 'title' => ''], ], [ 'name' => 'DBInstanceClass', 'in' => 'query', 'schema' => ['description' => 'The instance type. For more information, see the description of the `DBInstanceClass` parameter.'."\n" ."\n" .'> This parameter is required for instances in reserved storage mode.', 'type' => 'string', 'required' => false, 'example' => 'gpdb.group.segsdx1', 'title' => ''], ], [ 'name' => 'DBInstanceGroupCount', 'in' => 'query', 'schema' => ['description' => 'The number of compute groups. Valid values: 2, 4, 8, 12, 16, 24, 32, 64, 96, and 128.'."\n" ."\n" .'> This parameter is required for instances in reserved storage mode.', 'type' => 'string', 'required' => false, 'example' => '2', 'title' => ''], ], [ 'name' => 'DBInstanceDescription', 'in' => 'query', 'schema' => ['description' => 'The instance description.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'SecurityIPList', 'in' => 'query', 'schema' => ['description' => 'The IP address whitelist for the instance.'."\n" ."\n" .'A value of 127.0.0.1 blocks all external access. After you create the instance, you can call the [ModifySecurityIps](~~86928~~) operation to modify the IP address whitelist.', 'type' => 'string', 'required' => false, 'example' => '127.0.0.1', 'default' => '127.0.0.1', 'title' => ''], ], [ 'name' => 'PayType', 'in' => 'query', 'schema' => ['description' => 'The billing method for the instance. Valid values:'."\n" ."\n" .'- **Postpaid**: pay-as-you-go.'."\n" ."\n" .'- **Prepaid**: subscription.'."\n" ."\n" .'> * If this parameter is not specified, the default billing method is pay-as-you-go.'."\n" .'>'."\n" .'> * Discounts are available for subscriptions of one year or longer. Select a billing method based on your business needs.', 'type' => 'string', 'required' => false, 'default' => 'Postpaid', 'example' => 'Prepaid', 'title' => ''], ], [ 'name' => 'Period', 'in' => 'query', 'schema' => ['description' => 'The unit of the subscription duration. Valid values:'."\n" ."\n" .'- **Month**'."\n" ."\n" .'- **Year**'."\n" ."\n" .'> This parameter is required for subscription instances.', 'type' => 'string', 'required' => false, 'example' => 'Month', 'title' => ''], ], [ 'name' => 'UsedTime', 'in' => 'query', 'schema' => ['description' => 'The subscription duration. Valid values:'."\n" ."\n" .'- If **Period** is **Month**, the value can be an integer from 1 to 9.'."\n" ."\n" .'- If **Period** is **Year**, the value can be an integer from 1 to 3.'."\n" ."\n" .'> This parameter is required for subscription instances.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => ['description' => 'A client token used to ensure the idempotence of the request. For more information, see [How to ensure idempotence](~~327176~~).', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88**********', 'title' => ''], ], [ 'name' => 'InstanceNetworkType', 'in' => 'query', 'schema' => ['description' => 'The instance network type. Set the value to **VPC**.'."\n" ."\n" .'> - Only VPCs are supported.'."\n" .'>'."\n" .'> - If this parameter is not specified, VPC is used by default.', 'type' => 'string', 'required' => false, 'example' => 'VPC', 'title' => ''], ], [ 'name' => 'VPCId', 'in' => 'query', 'schema' => ['description' => 'The VPC ID.'."\n" ."\n" .'> - This parameter is required.'."\n" .'>'."\n" .'> - The VPC must be in the region specified by `RegionId`.', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp19ame5m1r3oejns****', 'title' => ''], ], [ 'name' => 'VSwitchId', 'in' => 'query', 'schema' => ['description' => 'The vSwitch ID.'."\n" ."\n" .'> - This parameter is required.'."\n" .'>'."\n" .'> - The vSwitch must be in the zone specified by `ZoneId`.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1cpq8mr64paltkb****', 'title' => ''], ], [ 'name' => 'PrivateIpAddress', 'in' => 'query', 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], [ 'name' => 'SegStorageType', 'in' => 'query', 'schema' => ['description' => 'The storage type for the segment nodes. Only ESSDs are supported. Set the value to **cloud\\_essd**.'."\n" ."\n" .'> This parameter is required for instances in elastic storage mode.', 'type' => 'string', 'required' => false, 'example' => 'cloud_essd', 'title' => ''], ], [ 'name' => 'SegDiskPerformanceLevel', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => [ 'description' => 'The performance level of the ESSDs. Valid values:'."\n" ."\n" .'- **pl0**: PL0'."\n" ."\n" .'- **pl1**: PL1'."\n" ."\n" .'- **pl2**: PL2'."\n" ."\n" .'> * This parameter applies only if the segment node storage type is ESSD.'."\n" .'>'."\n" .'> * If this parameter is not specified, pl1 is used by default.', 'type' => 'string', 'example' => 'pl1', 'default' => 'pl1', 'enum' => ['pl0', 'pl1', 'pl2'], 'required' => false, 'title' => '', ], ], [ 'name' => 'InstanceSpec', 'in' => 'query', 'schema' => ['description' => 'The instance type for the compute nodes.'."\n" ."\n" .'Valid values for a High-availability Edition instance in elastic storage mode:'."\n" ."\n" .'- **2C16G**'."\n" ."\n" .'- **4C32G**'."\n" ."\n" .'- **16C128G**'."\n" ."\n" .'Valid values for a Basic Edition instance in elastic storage mode:'."\n" ."\n" .'- **2C8G**'."\n" ."\n" .'- **4C16G**'."\n" ."\n" .'- **8C32G**'."\n" ."\n" .'- **16C64G**'."\n" ."\n" .'Valid values for a serverless instance:'."\n" ."\n" .'- **4C16G**'."\n" ."\n" .'- **8C32G**'."\n" ."\n" .'> This parameter is required for instances in elastic storage mode or serverless mode.', 'type' => 'string', 'required' => false, 'example' => '2C16G', 'title' => ''], ], [ 'name' => 'SegNodeNum', 'in' => 'query', 'schema' => ['description' => 'The number of compute nodes. Valid values:'."\n" ."\n" .'- For a High-availability Edition instance in elastic storage mode, the value must be a multiple of 4, from 4 to 512.'."\n" ."\n" .'- For a Basic Edition instance in elastic storage mode, the value must be a multiple of 2, from 2 to 512.'."\n" ."\n" .'- For a serverless instance, the value must be a multiple of 2, from 2 to 512.'."\n" ."\n" .'> This parameter is required for instances in elastic storage mode or serverless mode.', 'type' => 'string', 'required' => false, 'example' => '4', 'title' => ''], ], [ 'name' => 'MasterNodeNum', 'in' => 'query', 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], [ 'name' => 'DBInstanceMode', 'in' => 'query', 'schema' => ['description' => 'The instance resource mode. Valid values:'."\n" ."\n" .'- **StorageElastic**: elastic storage mode'."\n" ."\n" .'- **Serverless**: serverless mode'."\n" ."\n" .'- **Classic**: reserved storage mode'."\n" ."\n" .'> This parameter is required.', 'type' => 'string', 'required' => true, 'example' => 'StorageElastic', 'title' => ''], ], [ 'name' => 'StorageType', 'in' => 'query', 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], [ 'name' => 'DBInstanceCategory', 'in' => 'query', 'schema' => ['description' => 'The instance edition. Valid values:'."\n" ."\n" .'- **HighAvailability**: High-availability Edition'."\n" ."\n" .'- **Basic**: Basic Edition'."\n" ."\n" .'> This parameter is required for instances in elastic storage mode.', 'type' => 'string', 'required' => false, 'example' => 'HighAvailability', 'title' => ''], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'The ID of the resource group for the instance.', 'type' => 'string', 'required' => false, 'example' => 'rg-bp67acfmxazb4p****', 'title' => ''], ], [ 'name' => 'StorageSize', 'in' => 'query', 'schema' => ['description' => 'The storage capacity for the instance, in GB. Valid values: 50 to 800050 to 6000.'."\n" ."\n" .'> This parameter is required for instances in elastic storage mode.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '200', 'title' => ''], ], [ 'name' => 'CreateSampleData', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to load a sample dataset after the instance is created. Valid values:'."\n" ."\n" .'- **true**: A sample dataset is loaded.'."\n" ."\n" .'- **false**: A sample dataset is not loaded.'."\n" ."\n" .'> If this parameter is not specified, a sample dataset is not loaded.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The tags to add to the instance. You can add up to 20 tags.', 'type' => 'array', 'items' => [ 'description' => 'The tags to add to the instance. You can add up to 20 tags.', 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The tag key. The following limits apply:'."\n" ."\n" .'- The tag key cannot be empty.'."\n" ."\n" .'- The tag key can be up to 128 characters in length.'."\n" ."\n" .'- The tag key cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''], 'Value' => ['description' => 'The tag value. The following limits apply:'."\n" ."\n" .'- The tag value can be empty.'."\n" ."\n" .'- The tag value can be up to 128 characters in length.'."\n" ."\n" .'- The tag value cannot start with `acs:` and cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'maxItems' => 21, 'title' => '', 'example' => '', ], ], [ 'name' => 'ServerlessResource', 'in' => 'query', 'schema' => ['description' => 'The threshold for computing resources, in AnalyticDB Compute Units (ACUs). The value must be a multiple of 8, ranging from 8 to 32. The default value is 32.'."\n" ."\n" .'> This parameter is required only for serverless instances that use auto-scheduling.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '32', 'title' => ''], ], [ 'name' => 'IdleTime', 'in' => 'query', 'schema' => ['description' => 'The period of inactivity, in seconds, after which the instance is considered idle. Minimum value: 60. Default value: 600.'."\n" ."\n" .'> This parameter is required only for serverless instances that use auto-scheduling.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '600', 'title' => ''], ], [ 'name' => 'ServerlessMode', 'in' => 'query', 'schema' => ['description' => 'The mode of the serverless instance. Valid values:'."\n" ."\n" .'- **Manual**: manual scheduling. This is the default value.'."\n" ."\n" .'- **Auto**: auto-scheduling.'."\n" ."\n" .'> * This parameter is required only for instances in serverless mode.'."\n" .'>'."\n" .'> * Auto-scheduling for AnalyticDB for PostgreSQL instances in serverless mode is in preview. To use this feature, [submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket?product=rds) to be added to the whitelist.', 'type' => 'string', 'required' => false, 'example' => 'Auto', 'title' => ''], ], [ 'name' => 'EncryptionType', 'in' => 'query', 'schema' => ['description' => 'The encryption type. Valid values:'."\n" ."\n" .'- **NULL**: disables encryption. This is the default value.'."\n" ."\n" .'- **CloudDisk**: Enables cloud disk encryption. If you select this option, you must also specify a value for `EncryptionKey`.'."\n" ."\n" .'> After cloud disk encryption is enabled, it cannot be disabled.', 'type' => 'string', 'required' => false, 'example' => 'CloudDisk', 'title' => ''], ], [ 'name' => 'EncryptionKey', 'in' => 'query', 'schema' => ['description' => 'The ID of the encryption key.'."\n" ."\n" .'> If `EncryptionType` is set to `CloudDisk`, you must specify the ID of an encryption key in the same region. Otherwise, leave this parameter empty.', 'type' => 'string', 'required' => false, 'example' => '0d2470df-da7b-4786-b981-88888888****', 'title' => ''], ], [ 'name' => 'VectorConfigurationStatus', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable vector engine optimization. Valid values:'."\n" ."\n" .'- **enabled**: enables vector engine optimization.'."\n" ."\n" .'- **disabled** (default): disables vector engine optimization.'."\n" ."\n" .'> * For mainstream analytics, data warehousing, and real-time data warehousing scenarios, we recommend that you **disable** vector engine optimization.'."\n" .'>'."\n" .'> * For AIGC and vector search scenarios, we recommend that you **enable** vector engine optimization.', 'type' => 'string', 'required' => false, 'example' => 'enabled', 'title' => ''], ], [ 'name' => 'MasterCU', 'in' => 'query', 'schema' => ['description' => 'The resources for the coordinator node. Valid values:'."\n" ."\n" .'- 2 CU'."\n" ."\n" .'- 4 CU'."\n" ."\n" .'- 8 CU'."\n" ."\n" .'- 16 CU'."\n" ."\n" .'- 32 CU'."\n" ."\n" .'> You are charged for coordinator node resources of 8 CUs or more.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8 CU', 'title' => ''], ], [ 'name' => 'SrcDbInstanceName', 'in' => 'query', 'schema' => ['description' => 'The ID of the source instance to be cloned.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in the destination region, including instance IDs.', 'type' => 'string', 'required' => false, 'example' => 'gp-bp***************', 'title' => ''], ], [ 'name' => 'BackupId', 'in' => 'query', 'schema' => ['description' => 'The ID of the backup set.'."\n" ."\n" .'> You can call the [DescribeDataBackups](~~210093~~) operation to query the backup set IDs for the source instance.', 'type' => 'string', 'required' => false, 'example' => '1111111111', 'title' => ''], ], [ 'name' => 'EnableSSL', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable SSL encryption. Valid values:'."\n" ."\n" .'- **true**: SSL encryption is enabled.'."\n" ."\n" .'- **false** (default): SSL encryption is disabled.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'ProdType', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['description' => 'The product type. Valid values:'."\n" ."\n" .'- **standard**: Standard Edition.'."\n" ."\n" .'- **cost-effective**: Cost-effective Edition.'."\n" ."\n" .'> If this parameter is not specified, the default value is standard.', 'type' => 'string', 'required' => false, 'example' => 'standard', 'title' => ''], ], [ 'name' => 'DeployMode', 'in' => 'query', 'schema' => ['description' => 'The deployment mode. Valid values:'."\n" ."\n" .'- multiple: multi-AZ deployment.'."\n" ."\n" .'- single: single-AZ deployment.'."\n" ."\n" .'> * If this parameter is not specified, the default value is single.'."\n" .'>'."\n" .'> * Defaults to `single` (single-AZ deployment), which is the only mode currently supported.', 'type' => 'string', 'required' => false, 'example' => 'single', 'title' => ''], ], [ 'name' => 'StandbyZoneId', 'in' => 'query', 'schema' => ['description' => 'The ID of the standby zone.'."\n" ."\n" .'> - This parameter is required only for a multi-AZ deployment.'."\n" .'>'."\n" .'> - You can call the [DescribeRegions](~~86912~~) operation to query the IDs of available zones.'."\n" .'>'."\n" .'> - The standby zone must be different from the primary zone.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-j', 'title' => ''], ], [ 'name' => 'StandbyVSwitchId', 'in' => 'query', 'schema' => ['description' => 'The ID of the vSwitch in the standby zone.'."\n" ."\n" .'> - This parameter is required only for a multi-AZ deployment.'."\n" .'>'."\n" .'> - The vSwitch must be in the standby zone specified in `StandbyZoneId`.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1cpq8mr64paltkb****', 'title' => ''], ], [ 'name' => 'MasterAISpec', 'in' => 'query', 'schema' => ['description' => 'Use this parameter to configure the coordinator node as a MasterAI node.'."\n" ."\n" .'> - This parameter and `MasterCU` are mutually exclusive.'."\n" .'>'."\n" .'> - This feature is available only in some regions and zones.'."\n" .'>'."\n" .'> - MasterAI nodes are supported only for AnalyticDB for PostgreSQL V7.0 Basic Edition instances.'."\n" .'>'."\n" .'> - For a list of all possible values, see the coordinator node specification change page in the console.', 'type' => 'string', 'required' => false, 'example' => 'ADB.AIMedium.2', 'title' => ''], ], [ 'name' => 'AINodeSpecInfos', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'AINodeNum' => ['description' => 'The number of AI nodes.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], 'AINodeSpec' => ['description' => 'The specifications of the AI nodes.', 'type' => 'string', 'required' => false, 'example' => 'ADB.AIMedium.2', 'title' => ''], ], 'required' => false, 'description' => 'The AI node specifications.', 'title' => '', 'example' => '', ], 'required' => false, 'maxItems' => 100, 'description' => 'The AI node specifications.', 'title' => '', 'example' => '', ], ], [ 'name' => 'CacheStorageSize', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['description' => 'The cache size for a serverless instance, in GB.', 'type' => 'string', 'required' => false, 'example' => '800', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5414A4E5-4C36-4461-95FC-************', 'title' => ''], 'DBInstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], 'Port' => ['description' => 'This parameter is deprecated and is no longer returned.'."\n" ."\n" .'You can call the [DescribeDBInstanceAttribute](~~86910~~) operation to query the port number of the instance.', 'type' => 'string', 'example' => '3432', 'title' => ''], 'ConnectionString' => ['description' => 'This parameter is deprecated and is no longer returned.'."\n" ."\n" .'You can call the [DescribeDBInstanceAttribute](~~86910~~) operation to query the connection string of the instance.', 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****.gpdb.rds.aliyuncs.com', 'title' => ''], 'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'example' => '111111111111', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5414A4E5-4C36-4461-95FC-************\\",\\n \\"DBInstanceId\\": \\"gp-bp12ga6v69h86****\\",\\n \\"Port\\": \\"3432\\",\\n \\"ConnectionString\\": \\"gp-bp12ga6v69h86****.gpdb.rds.aliyuncs.com\\",\\n \\"OrderId\\": \\"111111111111\\"\\n}","type":"json"}]', 'title' => 'CreateDBInstance', 'description' => 'Before you call this operation, review the [billing methods](~~35406~~) and [pricing](https://www.aliyun.com/price/product#/gpdb/detail/GreenplumPost)[pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing) for AnalyticDB for PostgreSQL.', 'requestParamsDescription' => '### DBInstanceClass parameter'."\n" ."\n" .'AnalyticDB for PostgreSQL currently supports the following two instance types:'."\n" ."\n" .'- high-performance: The names of these instance types start with gpdb.group.segsdx. They provide superior I/O capabilities.'."\n" ."\n" .'- high-capacity: The names of these instance types start with gpdb.group.seghdx. They provide larger, more cost-effective storage.'."\n" ."\n" .'Select an instance type based on your storage and compute requirements.'."\n" ."\n" .'AnalyticDB for PostgreSQL also supports OSS-based external tables. You can use gzip to compress data in external storage. To further reduce storage costs, you can store data not required for real-time computing there.'."\n" ."\n" .'The following table lists the **specifications for high-performance instances**:'."\n" ."\n" .'| | | | |'."\n" .'| ------------------- | -------- | ------ | ----------- |'."\n" .'| Specification | CPU | Memory | Storage |'."\n" .'| gpdb.group.segsdx1 | 1 Core | 8 GB | 80 GB SSD |'."\n" .'| gpdb.group.segsdx2 | 2 Cores | 16 GB | 160 GB SSD |'."\n" .'| gpdb.group.segsdx16 | 16 Cores | 128 GB | 1.28 TB SSD |'."\n" ."\n" .'The following table lists the **specifications for high-capacity instances**:'."\n" ."\n" .'| | | | |'."\n" .'| ------------------- | -------- | ------ | --------- |'."\n" .'| Specification | CPU | Memory | Storage |'."\n" .'| gpdb.group.seghdx4 | 4 Cores | 32 GB | 2 TB HDD |'."\n" .'| gpdb.group.seghdx36 | 36 Cores | 288 GB | 18 TB HDD |', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2025-05-29T16:37:12.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-02-17T12:05:24.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-02-12T11:57:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-10-11T13:16:53.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-05-13T11:33:09.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-01-04T12:19:53.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-12-18T11:28:44.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-09-18T06:15:31.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-08-17T11:47:02.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-08-17T11:23:49.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-05-23T15:32:27.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-05-04T11:10:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-04-18T12:34:59.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-10-28T08:10:38.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-12-21T03:56:21.000Z', 'description' => 'Request parameters changed, Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDBInstance'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateDBInstance', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'gpdb:EncryptionType', 'validationType' => 'always'], ['conditionKey' => 'gpdb:SSLEnabled', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/*'], ], ], ], ], 'translator' => 'machine', ], 'CreateDBInstanceIPArray' => [ 'summary' => 'Adds an IP whitelist group.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '237281', 'abilityTreeNodes' => ['FEATUREgpdbY61DIR'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'IPArrayName', 'in' => 'query', 'schema' => ['description' => 'The name of the IP whitelist group.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testarray', 'title' => ''], ], [ 'name' => 'IPArrayAttribute', 'in' => 'query', 'schema' => ['description' => 'The attribute of the IP whitelist group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'taffyFish', 'title' => ''], ], [ 'name' => 'SecurityIPList', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => 'The IP addresses in the IP whitelist group. A maximum of 1,000 IP addresses or CIDR blocks are allowed.'."\n", 'type' => 'array', 'items' => ['description' => 'A comma-separated list of IP addresses and CIDR blocks for the IP whitelist group. You can specify up to 1,000 entries. Supported formats:'."\n" ."\n" .'* Single IP: 10.23.12.24'."\n" .'* CIDR Block: 10.23.12.0/24 (The `/24` denotes the network prefix length, which must be an integer and the range is `[1,32]`.)'."\n", 'type' => 'string', 'required' => true, 'example' => '172.28.80.0/20', 'title' => ''], 'required' => true, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'API-d971c90f-c801-41bd-b8e5-5b8bd79326c8'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"API-d971c90f-c801-41bd-b8e5-5b8bd79326c8\\"\\n}","type":"json"}]', 'title' => 'CreateDBInstanceIPArray', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateDBInstanceIPArray', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'CreateDBInstancePlan' => [ 'summary' => 'Creates a plan for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdb0DT1KA'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances within a region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'PlanName', 'in' => 'query', 'schema' => ['description' => 'The name of the plan.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-plan', 'title' => ''], ], [ 'name' => 'PlanDesc', 'in' => 'query', 'schema' => ['description' => 'The description of the plan.'."\n", 'type' => 'string', 'required' => false, 'example' => 'this is a test plan', 'title' => ''], ], [ 'name' => 'PlanType', 'in' => 'query', 'schema' => ['description' => 'The type of the plan. Valid values:'."\n" ."\n" .'* **PauseResume**: pauses and resumes an instance.'."\n" .'* **Resize**: changes the number of compute nodes.'."\n" .'* **ModifySpec**: changes compute node specifications.'."\n" ."\n" .'> - You can specify the value to ModifySpec only for instances in elastic storage mode.'."\n" .'>- You can specify the value to ModifySpec only for instances in elastic storage mode.', 'type' => 'string', 'required' => true, 'example' => 'PauseResume', 'title' => ''], ], [ 'name' => 'PlanScheduleType', 'in' => 'query', 'schema' => ['description' => 'The execution mode of the plan. Valid values:'."\n" ."\n" .'* **Postpone**: The plan is executed later.'."\n" .'* **Regular**: The plan is executed periodically.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Regular', 'title' => ''], ], [ 'name' => 'PlanStartDate', 'in' => 'query', 'schema' => ['description' => 'The start time of the plan. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.'."\n" ."\n" .'> '."\n" ."\n" .'* This parameter must be specified only when **PlanScheduleType** is set to **Regular**.'."\n" ."\n" .'* If you do not specify this parameter, the current time is used.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-04-17T23:00:00Z'."\n", 'title' => ''], ], [ 'name' => 'PlanEndDate', 'in' => 'query', 'schema' => ['description' => 'The end time of the plan. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC. The end time must be later than the start time.'."\n" ."\n" .'> '."\n" ."\n" .'* This parameter must be specified only when **PlanScheduleType** is set to **Regular**.'."\n" ."\n" .'* If you do not specify this parameter, the plan stops until the plan is deleted.'."\n", 'type' => 'string', 'required' => false, 'example' => '2023-04-17T23:00:00Z'."\n", 'title' => ''], ], [ 'name' => 'PlanConfig', 'in' => 'query', 'schema' => ['description' => 'The execution information of the plan. Specify the parameter in the JSON format. The parameter value varies based on the values of **PlanType** and **PlanScheduleType**. The following section describes the PlanConfig parameter.'."\n", 'type' => 'string', 'required' => true, 'example' => '{"pause":{"planCronTime":"0 0 12 1/1 * ? "},"resume":{"planCronTime":"0 0 0 1/1 * ? "}}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'DBInstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], 'ErrorMessage' => ['description' => 'The error message.'."\n" ."\n" .'This parameter is returned only if the request fails.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], 'PlanId' => ['description' => 'The plan ID.'."\n", 'type' => 'string', 'example' => '1234', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '34b32a0a-08ef-4a87-b6be-cdd9f56fc3ad', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful.'."\n" ."\n" .'If the request was successful, **success** is returned. If the request failed, this parameter is not returned.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'CreateDBInstancePlan', 'description' => '* The plan management feature is supported only for pay-as-you-go instances.'."\n" .'* 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.'."\n" ."\n" .'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).'."\n", 'requestParamsDescription' => '### Description of the PlanConfig parameter'."\n" ."\n" .'When PlanType is set to PauseResume:'."\n" ."\n" .'* If **PlanScheduleType** is set to **Postpone**, you must specify the point in time to pause or resume the instance. **pause**: pauses the instance. **resume**: resumes the instance. **executeTime**: the point in time to pause or resume the instance. The time must be in UTC. Examples:'."\n" ."\n" .' * Pause the instance: `{"pause":{"executeTime":"2022-08-30T16:00:00Z"}}`'."\n" .' * Resume the instance: `{"resume":{"executeTime":"2022-08-30T16:00:00Z"}}`'."\n" ."\n" .'* If **PlanScheduleType** is set to **Regular**, you must specify the point in time to periodically pause and resume the instance. **pause**: pauses the instance. **resume**: resumes the instance. **planCronTime**: the point in time to periodically pause and resume the instance. The time must be in the cron expression format in UTC. Example:'."\n" ."\n" .'`{"pause":{"planCronTime":"0 0 12 1/1 * ? "},"resume":{"planCronTime":"0 0 0 1/1 * ? "}}`.'."\n" ."\n" .'When PlanType is set to Resize:'."\n" ."\n" .'* If **PlanScheduleType** is set to **Postpone**, you must specify the point in time to add or remove compute nodes and the number of desired compute nodes. **scaleOut**: adds compute nodes. **scaleIn**: removes compute nodes. **executeTime**: the point in time to add or remove compute nodes. The time must be in UTC. **segmentNodeNum**: the number of desired compute nodes. Examples:'."\n" ."\n" .' * Add compute nodes: `{"scaleOut":{"executeTime":"2022-08-30T16:00:00Z","segmentNodeNum":4}}`'."\n" .' * Remove compute nodes: `{"scaleIn":{"executeTime":"2022-08-30T16:00:00Z","segmentNodeNum":2}}`'."\n" ."\n" .'* If **PlanScheduleType** is set to **Regular**, you must specify the point in time to periodically add and remove compute nodes and the number of desired compute nodes. **scaleOut**: adds compute nodes. **scaleIn**: removes compute nodes. **planCronTime**: the point in time to periodically add and remove compute nodes. The time must be in the cron expression format in UTC. **segmentNodeNum**: the number of desired compute nodes. Example:'."\n" ."\n" .'`{"scaleIn":{"segmentNodeNum":2,"planCronTime":"0 0 12 1/1 * ? "},"scaleOut":{"segmentNodeNum":4,"planCronTime":"0 0 0 1/1 * ? "}}`.'."\n" ."\n" .'When PlanType is set to ModifySpec:'."\n" ."\n" .'* If **PlanScheduleType** is set to **Postpone**, you must specify the point in time to upgrade or downgrade compute node specifications and the desired specifications. **scaleUp**: upgrades compute node specifications. **scaleDown**: downgrades compute node specifications. **executeTime**: the point in time to upgrade or downgrade compute node specifications. The time must be in UTC. **instanceSpec**: the desired specifications. Examples:'."\n" ."\n" .' * Upgrade compute node specifications: `{"scaleUp":{"executeTime":"2022-08-30T16:00:00Z","instanceSpec":"4C32G"}}`'."\n" .' * Downgrade compute node specifications: `{"scaleDown":{"executeTime":"2022-08-30T16:00:00Z","instanceSpec":"2C16G"}}`'."\n" ."\n" .'* If **PlanScheduleType** is set to **Regular**, you must specify the point in time to periodically upgrade and downgrade compute node specifications and the desired specifications. **scaleUp**: upgrades compute node specifications. **scaleDown**: downgrades compute node specifications. **planCronTime**: the point in time to periodically upgrade and downgrade compute node specifications. The time must be in the cron expression format in UTC. **instanceSpec**: the desired specifications. Example:'."\n" ."\n" .'`{"scaleUp":{"instanceSpec":"4C32G","planCronTime":"0 0 12 1/1 * ? "},"scaleDown":{"instanceSpec":"2C16G","planCronTime":"0 0 0 1/1 * ? "}}`.'."\n" ."\n" .'> For more information about cron expressions, see [Cron expression](~~64769~~).'."\n", 'changeSet' => [ ['createdAt' => '2022-08-25T13:00:47.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateDBInstancePlan'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:CreateDBInstancePlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"DBInstanceId\\": \\"gp-bp12ga6v69h86****\\",\\n \\"ErrorMessage\\": \\"****\\",\\n \\"PlanId\\": \\"1234\\",\\n \\"RequestId\\": \\"34b32a0a-08ef-4a87-b6be-cdd9f56fc3ad\\",\\n \\"Status\\": \\"success\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 34b32a0a-08ef-4a87-b6be-cdd9f56fc3ad\\n success\\n gp-bp12ga6v69h86****\\n 1234\\n","errorExample":""}]', ], 'CreateDBResourceGroup' => [ 'summary' => 'Creates a resource group.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '198025', 'abilityTreeNodes' => ['FEATUREgpdbGDXMO2'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'ResourceGroupName', 'in' => 'query', 'schema' => ['description' => 'The name of the resource group.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testgroup', 'title' => ''], ], [ 'name' => 'ResourceGroupConfig', 'in' => 'query', 'schema' => ['description' => 'The configurations of the resource group.'."\n" ."\n" .'> '."\n" ."\n" .'* CpuRateLimit: the percentage of CPU resources that are available for the resource group. Unit: %.'."\n" ."\n" .'* MemoryLimit: the percentage of memory resources that are available for the resource group. Unit: %.'."\n" ."\n" .'* MemorySharedQuota: the percentage of memory resources shared among transactions that are submitted to the resource group. Unit: %. Default value: 80.'."\n" ."\n" .'* MemorySpillRatio: the memory spill ratio for memory-intensive transactions. When the memory that is used by memory-intensive transactions reaches this value, data is spilled to disks. Unit: %. Default value: 0.'."\n" ."\n" .'* Concurrency: the maximum number of concurrent transactions or parallel queries that are allowed for a resource group. Default value: 20.'."\n", 'type' => 'string', 'required' => true, 'example' => '{"CpuRateLimit":10,"MemoryLimit":12,"MemorySharedQuota":20,"MemorySpillRatio":75,"Concurrency":3}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'title' => 'CreateDBResourceGroup', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDBResourceGroup'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateDBResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'CreateDatabase' => [ 'summary' => 'Creates a database.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '239720', 'abilityTreeNodes' => ['FEATUREgpdbQ0N7UN'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'DatabaseName', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n" ."\n" .'* Only contains letters, digits, and underscores (\\_).'."\n" .'* Must start with a letter.'."\n" .'* Up to 63 characters in length.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test01', 'title' => ''], ], [ 'name' => 'CharacterSetName', 'in' => 'query', 'schema' => ['description' => 'The character set.'."\n" ."\n" .'For more information about the value range, see Document [https://www.postgresql.org/docs/current/multibyte.html](url).'."\n" ."\n" .'Default value: UTF-8.'."\n", 'type' => 'string', 'required' => false, 'example' => 'UTF8', 'title' => ''], ], [ 'name' => 'Collate', 'in' => 'query', 'schema' => ['description' => 'Database locale parameter (specifies string comparison/sorting rules).'."\n" ."\n" .'> '."\n" ."\n" .'* The locale must be compatible with the character set specified by the CharacterSetName parameter.'."\n" ."\n" .'* Valid values for the Collate field: You can execute the SELECT DISTINCT collname FROM pg_collation; statement to obtain the field value. The default value is en_US.utf8.'."\n", 'type' => 'string', 'required' => false, 'example' => 'en_US.utf8', 'title' => ''], ], [ 'name' => 'Ctype', 'in' => 'query', 'schema' => ['description' => 'Database locale parameter (defines character classification/case conversion rules).'."\n" ."\n" .'> '."\n" ."\n" .'* The locale must be compatible with the character set specified by the CharacterSetName parameter.'."\n" ."\n" .'* You can execute the SELECT DISTINCT collctype FROM pg_collation; statement to obtain the field value. The default value is en_US.utf8.'."\n", 'type' => 'string', 'required' => false, 'example' => 'en_US.utf8', 'title' => ''], ], [ 'name' => 'Owner', 'in' => 'query', 'schema' => ['description' => 'The owner of the table.'."\n" ."\n" .'* Only contains lowercase letters, digits, and underscores (\\_).'."\n" .'* Must start with a lowercase letter and end with a lowercase letter or a digit.'."\n" .'* Cannot start with gp.'."\n" .'* Must be 2 to 16 characters in length.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testadb', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description of the database.'."\n" ."\n" .'* Must start with a letter.'."\n" .'* Cannot start with http:// or https://.'."\n" .'* Only contains letters, underscores (\\_), hyphens (-), and digits.'."\n" .'* Must be 2 to 256 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'A user management database storing customer profiles.', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'title' => 'CreateDatabase', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateDatabase', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'CreateDocumentCollection' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including instance IDs.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'ManagerAccount', 'in' => 'query', 'schema' => ['description' => 'The name of the management account that has the rds_superuser permission.'."\n" ."\n" .'> You can create an account in the console by navigating to Account Management, or by calling the [CreateAccount](~~2361789~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'testaccount', 'title' => ''], ], [ 'name' => 'ManagerAccountPassword', 'in' => 'query', 'schema' => ['description' => 'The password of the management account.', 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The namespace. Default value: public.'."\n" ."\n" .'> You can create a namespace by calling the [CreateNamespace](~~2401495~~) operation and query the list of namespaces by calling the [ListNamespaces](~~2401502~~) operation.', 'type' => 'string', 'default' => 'public', 'required' => false, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the knowledge base to create.'."\n" ."\n" .'> The name must comply with PostgreSQL object naming conventions.', 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'EmbeddingModel', 'in' => 'query', 'schema' => [ 'description' => 'The embedding model. Default value: text-embedding-v3.'."\n" ."\n" .'> Supported models:'."\n" .'> - text-embedding-v3 (recommended, default): 1024, 768, or 512 dimensions'."\n" .'> - multimodal-embedding-v1 (recommended): 1024 dimensions, multimodal embedding model'."\n" .'> - text-embedding-v1: 1536 dimensions'."\n" .'> - text-embedding-v2: 1536 dimensions'."\n" .'> - text2vec (not recommended): 1024 dimensions'."\n" .'> - m3e-base (not recommended): 768 dimensions'."\n" .'> - m3e-small (not recommended): 512 dimensions'."\n" .'> - clip-vit-b-32 (not recommended): CLIP ViT-B/32 model, 512 dimensions, image embedding model'."\n" .'> - clip-vit-b-16 (not recommended): CLIP ViT-B/16 model, 512 dimensions, image embedding model'."\n" .'> - clip-vit-l-14 (not recommended): CLIP ViT-L/14 model, 768 dimensions, image embedding model'."\n" .'> - clip-vit-l-14-336px (not recommended): CLIP ViT-L/14@336px model, 768 dimensions, image embedding model'."\n" .'> - clip-rn50 (not recommended): CLIP RN50 model, 1024 dimensions, image embedding model'."\n" .'> - clip-rn101 (not recommended): CLIP RN101 model, 512 dimensions, image embedding model'."\n" .'> - clip-rn50x4 (not recommended): CLIP RN50x4 model, 640 dimensions, image embedding model'."\n" .'> - clip-rn50x16 (not recommended): CLIP RN50x16 model, 768 dimensions, image embedding model'."\n" .'> - clip-rn50x64 (not recommended): CLIP RN50x64 model, 1024 dimensions, image embedding model', 'type' => 'string', 'default' => 'text-embedding-v3', 'enum' => [], 'required' => false, 'example' => 'text-embedding-v1', 'title' => '', ], ], [ 'name' => 'Dimension', 'in' => 'query', 'schema' => ['description' => 'The vector dimensions. The default value is the dimension supported by the embedding model.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1024', 'title' => ''], ], [ 'name' => 'FullTextRetrievalFields', 'in' => 'query', 'schema' => ['description' => 'The fields used for full-text retrieval. Separate multiple fields with commas (,). The fields must be keys defined in Metadata.', 'type' => 'string', 'required' => false, 'example' => 'title,page', 'title' => ''], ], [ 'name' => 'Metadata', 'in' => 'query', 'schema' => ['description' => 'The metadata of vector data, in the format of a JSON string representing a MAP. The key represents the field name, and the value represents the data type.'."\n" ."\n" .'> Supported data types:'."\n" .'> - For the list of data types, see [Data types](~~424383~~).'."\n" .'> - The money type is not supported.'."\n" ."\n" .'>The following fields are reserved and cannot be used: id, vector, doc_name, content, loader_metadata, source, and to_tsvector.>', 'type' => 'string', 'required' => false, 'example' => '{"title":"text","page":"int"}', 'title' => ''], ], [ 'name' => 'Parser', 'in' => 'query', 'schema' => ['description' => 'The tokenizer used for full-text retrieval. Default value: zh_cn.', 'type' => 'string', 'default' => 'zh_cn', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ 'name' => 'Metrics', 'in' => 'query', 'schema' => ['description' => 'The distance metric used for building vector indexes.'."\n" ."\n" .'Valid values:'."\n" .'- **l2**: Euclidean distance.'."\n" .'- **ip**: inner product distance.'."\n" .'- **cosine** (default): cosine similarity.', 'type' => 'string', 'default' => 'cosine', 'required' => false, 'example' => 'cosine', 'title' => ''], ], [ 'name' => 'HnswM', 'in' => 'query', 'schema' => [ 'description' => 'The maximum number of neighbors in the HNSW algorithm. This value is automatically set based on the vector dimensions. Manual configuration is generally not required.'."\n" ."\n" .'> Valid values:'."\n" .'>- AnalyticDB for PostgreSQL 6.0 instances: 1 to 1000.'."\n" .'>- AnalyticDB for PostgreSQL 7.0 instances: 2 to 100. Default value: 16.'."\n" ."\n" .'> Recommended values based on vector dimensions:'."\n" .'>- 384 or fewer: 16'."\n" .'>- Greater than 384 and up to 768: 32'."\n" .'>- Greater than 768 and up to 1024: 64'."\n" .'>- Greater than 1024: 128', 'type' => 'integer', 'format' => 'int32', 'maximum' => '1000', 'minimum' => '0', 'enum' => [], 'required' => false, 'example' => '64', 'title' => '', ], ], [ 'name' => 'HnswEfConstruction', 'in' => 'query', 'schema' => ['description' => 'The candidate set size when building an index with the HNSW algorithm. The value must be >= 2*HNSW_M.'."\n" ."\n" .'> Valid values:'."\n" .'>- AnalyticDB for PostgreSQL 6.0 instances: 40 to 4000.'."\n" .'>- AnalyticDB for PostgreSQL 7.0 instances: 4 to 1000. Default value: 64.', 'type' => 'string', 'required' => false, 'example' => '128', 'title' => ''], ], [ 'name' => 'PqEnable', 'in' => 'query', 'schema' => [ 'description' => 'Specifies whether to enable Product Quantization (PQ) algorithm acceleration for the index. We recommend enabling this feature when the data volume exceeds 500,000. Valid values:'."\n" .'- 0: disabled.'."\n" .'- 1: enabled (default).', 'type' => 'integer', 'format' => 'int32', 'enum' => [], 'required' => false, 'example' => '1', 'title' => '', ], ], [ 'name' => 'ExternalStorage', 'in' => 'query', 'schema' => [ 'description' => 'Specifies whether to use mmap to build the HNSW index. Default value: 0. If data does not need to be deleted and you require high upload performance, set this parameter to 1.'."\n" ."\n" .'Valid values:'."\n" .'- 0: uses segment-page storage to build the index. This mode uses shared_buffer in PostgreSQL as cache and supports delete and update operations.'."\n" .'- 1: uses mmap to build the index. This mode does not support delete or update operations.'."\n" ."\n" .'>Only version 6.0 supports the ExternalStorage parameter. Version 7.0 does not support this parameter.>', 'type' => 'integer', 'format' => 'int32', 'enum' => ['0', '1'], 'required' => false, 'example' => '0', 'title' => '', ], ], [ 'name' => 'MetadataIndices', 'in' => 'query', 'schema' => ['description' => 'The scalar index fields. Separate multiple fields with commas (,). The fields must be keys defined in Metadata.', 'type' => 'string', 'required' => false, 'example' => 'title', 'title' => ''], ], [ 'name' => 'EnableGraph', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable knowledge graph construction. Default value: false.'."\n" ."\n" .'> Before using this parameter, upgrade the instance to a version that supports the graph engine. (During the public preview, submit a ticket to upgrade the version.)', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'LLMModel', 'in' => 'query', 'schema' => ['description' => 'The LLM model name. Valid values:'."\n" .'- knowledge-extract-standard: default value.'."\n" .'- knowledge-extract-mini'."\n" .'> This parameter takes effect only when knowledge graph construction is enabled.', 'type' => 'string', 'required' => false, 'example' => 'knowledge-extract-standard', 'title' => ''], ], [ 'name' => 'Language', 'in' => 'query', 'schema' => ['description' => 'The language used for knowledge graph construction. Valid values:'."\n" .'- Simplified Chinese: Simplified Chinese. Default value.'."\n" .'- English: English.'."\n" .'> This parameter takes effect only when knowledge graph construction is enabled.', 'type' => 'string', 'required' => false, 'example' => 'Simplified Chinese', 'title' => ''], ], [ 'name' => 'EntityTypes', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The list of entity types.'."\n" ."\n" .'> This parameter is required when knowledge graph construction is enabled.', 'type' => 'array', 'items' => ['description' => 'The entity type.', 'type' => 'string', 'required' => false, 'example' => '地点', 'title' => ''], 'required' => false, 'example' => 'Location', 'title' => '', ], ], [ 'name' => 'RelationshipTypes', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The list of relationship edge types.'."\n" ."\n" .'> This parameter is required when knowledge graph construction is enabled.', 'type' => 'array', 'items' => ['description' => 'The relationship edge type.', 'type' => 'string', 'required' => false, 'example' => '发生', 'title' => ''], 'required' => false, 'example' => 'Occurred', 'title' => '', ], ], [ 'name' => 'SupportSparse', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to support sparse vectors. Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'SparseVectorIndexConfig', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The sparse vector index configuration. If specified, a sparse vector index is created.', 'type' => 'object', 'properties' => [ 'HnswM' => ['description' => 'The maximum number of neighbors in the HNSW algorithm. This value is automatically set based on the vector dimensions. Manual configuration is generally not required.'."\n" ."\n" .'> Valid values:'."\n" .'>- AnalyticDB for PostgreSQL 6.0 instances: 1 to 1000.'."\n" .'>- AnalyticDB for PostgreSQL 7.0 instances: 2 to 100. Default value: 16.'."\n" ."\n" .'> Recommended values based on vector dimensions:'."\n" .'>- 384 or fewer: 16'."\n" .'>- Greater than 384 and up to 768: 32'."\n" .'>- Greater than 768 and up to 1024: 64'."\n" .'>- Greater than 1024: 128', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '64', 'title' => ''], 'HnswEfConstruction' => ['description' => 'The candidate set size when building an index with the HNSW algorithm. Valid values: 4 to 1000. Default value: 64.'."\n" ."\n" .'> This parameter is required only for AnalyticDB for PostgreSQL 7.0 instances, and the value must be >= 2*HNSW_M.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '128', 'title' => ''], 'Algorithm' => ['description' => 'The vector index algorithm.'."\n" ."\n" .'Valid values:'."\n" .'- hnswflat: HNSW index without quantization compression (default).'."\n" .'- novam: graph index without quantization compression, suitable for high-performance scenarios such as real-time recommendations.', 'type' => 'string', 'required' => false, 'example' => 'hnswflat', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'SparseRetrievalFields', 'in' => 'query', 'schema' => ['description' => 'The metadata fields used for building sparse vectors. Separate multiple fields with commas (,). The fields must be keys defined in Metadata.', 'type' => 'string', 'required' => false, 'example' => 'title,abstract', 'title' => ''], ], [ 'name' => 'Algorithm', 'in' => 'query', 'schema' => ['description' => 'The vector index algorithm.'."\n" ."\n" .'Valid values:'."\n" .'- hnswflat: HNSW index without quantization compression (default).'."\n" .'- novam: graph index without quantization compression, suitable for high-performance scenarios such as real-time recommendations.'."\n" .'- novad: partitioned index with RaBitQ quantization, suitable for large-scale low-cost retrieval scenarios.', 'type' => 'string', 'required' => false, 'example' => 'hnswflat', 'title' => ''], ], [ 'name' => 'VectorIndexConfig', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The dense vector index configuration.', 'type' => 'object', 'properties' => [ 'Nlist' => ['description' => 'The Novad list count (number of partitions). Valid values: 2 to 1073741824. Default value: 256.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '256', 'title' => ''], 'RabitqBits' => ['description' => 'The number of RaBitQ compression bits. Valid values: 1 to 8. Default value: 3.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Status' => ['description' => 'The API execution status. Valid values:'."\n" .'- **success**: The operation was successful.'."\n" .'- **fail**: The operation failed.', 'type' => 'string', 'example' => 'successs', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'Create a knowledge base', 'summary' => 'Creates a knowledge base.', 'changeSet' => [ ['createdAt' => '2025-09-10T15:09:31.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-03-06T16:06:55.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-01-14T13:08:25.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-12-12T13:18:03.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-01-09T12:35:39.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDocumentCollection'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateDocumentCollection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"Successful\\",\\n \\"Status\\": \\"successs\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'CreateExtensions' => [ 'summary' => 'Installs extensions.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '214905', 'abilityTreeNodes' => ['FEATUREgpdbQ0N7UN'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a specific region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Extensions', 'in' => 'query', 'schema' => ['description' => 'The name of the extension that you want to install. Separate multiple extension names with commas (,).'."\n", 'type' => 'string', 'required' => true, 'example' => 'citext, dblink', 'title' => ''], ], [ 'name' => 'DBNames', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Extensions' => ['description' => 'The name of the extension that you want to install. Multiple extension names are separated with commas (,).'."\n", 'type' => 'string', 'example' => 'citext, dblink', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Extensions\\": \\"citext, dblink\\",\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'title' => 'CreateExtensions', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateExtensions'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateExtensions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'CreateExternalDataService' => [ 'summary' => 'Create External Data Service', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbGXMEN1'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID, you can view available region IDs through the [DescribeRegions](~~86912~~) interface.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'query', 'schema' => ['description' => 'Service name.', 'type' => 'string', 'required' => true, 'example' => 'test-adbpgss', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-bp10g78o9807yv9h3', 'title' => ''], ], [ 'name' => 'ServiceSpec', 'in' => 'query', 'schema' => ['description' => 'Service specification (in CU), value:'."\n" ."\n" .'- 8', 'type' => 'string', 'required' => true, 'example' => '8', 'title' => ''], ], [ 'name' => 'ServiceDescription', 'in' => 'query', 'schema' => ['description' => 'Service description.', 'type' => 'string', 'required' => false, 'example' => 'pxf test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'ServiceId' => ['description' => 'Service ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"ServiceId\\": 100\\n}","type":"json"}]', 'title' => 'Create External Data Service', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateExternalDataService'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateExternalDataService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'CreateHadoopDataSource' => [ 'summary' => 'Create Hadoop data source configuration', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbYL5VZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) interface to view available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DataSourceName', 'in' => 'query', 'schema' => ['description' => 'Service name.', 'type' => 'string', 'required' => false, 'example' => 'hdfs_pxf', 'title' => ''], ], [ 'name' => 'DataSourceDescription', 'in' => 'query', 'schema' => ['description' => 'Service description.', 'type' => 'string', 'required' => false, 'example' => 'pxf for hdfs data source', 'title' => ''], ], [ 'name' => 'DataSourceType', 'in' => 'query', 'schema' => ['description' => 'Type of Hadoop external table to be enabled, with values:'."\n" ."\n" .'- HDFS '."\n" ."\n" .'- Hive', 'type' => 'string', 'required' => false, 'example' => 'HDFS', 'title' => ''], ], [ 'name' => 'HadoopCreateType', 'in' => 'query', 'schema' => ['description' => 'External service type:'."\n" ."\n" .'- emr'."\n" ."\n" .'- hadoop: Self-built Hadoop', 'type' => 'string', 'required' => false, 'example' => 'emr', 'title' => ''], ], [ 'name' => 'HadoopHostsAddress', 'in' => 'query', 'schema' => ['description' => 'Address and hostname of the Hadoop cluster\'s source node in the /etc/hosts file.', 'type' => 'string', 'required' => false, 'example' => '192.168.220.128 master-1-1.c-xxx.cn-shanghai.emr.aliyuncs.com'."\n" .'192.168.220.129 core-1-1.c-xxx.cn-shanghai.emr.aliyuncs.com'."\n" .'192.168.220.130 core-1-2.c-xxx.cn-shanghai.emr.aliyuncs.com', 'title' => ''], ], [ 'name' => 'HadoopCoreConf', 'in' => 'query', 'schema' => ['description' => 'Content string of the Hadoop core-site.xml file.', 'type' => 'string', 'required' => false, 'example' => ''."\n" .''."\n" .''."\n" .' '."\n" .' hadoop.http.authentication.kerberos.keytab'."\n" .' /etc/emr/hadoop-conf/http.keytab'."\n" .' '."\n" .' '."\n" .' fs.oss.idle.timeout.millisecond'."\n" .' 30000'."\n" .' '."\n" .' '."\n" .' fs.oss.download.thread.concurrency'."\n" .' 32'."\n" .' '."\n" .'', 'title' => ''], ], [ 'name' => 'HDFSConf', 'in' => 'query', 'schema' => ['description' => 'Content string of the Hadoop hdfs-site.xml file. This field is required when enabling an HDFS external table.', 'type' => 'string', 'required' => false, 'example' => ''."\n" .''."\n" .''."\n" .' '."\n" .' dfs.datanode.cache.revocation.timeout.ms'."\n" .' 900000'."\n" .' '."\n" .' '."\n" .' dfs.namenode.resource.check.interval'."\n" .' 5000'."\n" .' '."\n" .'', 'title' => ''], ], [ 'name' => 'HiveConf', 'in' => 'query', 'schema' => ['description' => 'Content string of the Hadoop hive-site.xml file. This field is required when enabling a HIVE external table.', 'type' => 'string', 'required' => false, 'example' => ''."\n" .''."\n" .''."\n" .' '."\n" .' hive.exec.reducers.bytes.per.reducer'."\n" .' 256000000'."\n" .' '."\n" .' '."\n" .' hive.stats.column.autogather'."\n" .' false'."\n" .' '."\n" .'', 'title' => ''], ], [ 'name' => 'YarnConf', 'in' => 'query', 'schema' => ['description' => 'Content string of the Hadoop yarn-site.xml file. This field is required when enabling an HDFS external table.', 'type' => 'string', 'required' => false, 'example' => ''."\n" .''."\n" .''."\n" .' '."\n" .' yarn.nodemanager.linux-container-executor.nonsecure-mode.local-user'."\n" .' hadoop'."\n" .' '."\n" .' '."\n" .' yarn.scheduler.fair.dynamic.max.assign'."\n" .' true'."\n" .' '."\n" .''."\n", 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxx', 'title' => ''], ], [ 'name' => 'MapReduceConf', 'in' => 'query', 'schema' => ['description' => 'Content string of the Hadoop mapred-site.xml file. This field is required when enabling an HDFS external table.', 'type' => 'string', 'required' => false, 'example' => 'xxxxxx', 'title' => ''], ], [ 'name' => 'EmrInstanceId', 'in' => 'query', 'schema' => ['description' => 'When HadoopCreateType=Emr, this field should contain the EMR instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-1234567', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'DataSourceId' => ['description' => 'Data source ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '123', 'title' => ''], 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '2C125605-266F-41CA-8AC5-3A643D4F42C5', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DataSourceId\\": 123,\\n \\"RequestId\\": \\"2C125605-266F-41CA-8AC5-3A643D4F42C5\\"\\n}","type":"json"}]', 'title' => 'Create Hadoop External Data Source', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateHadoopDataSource'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateHadoopDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'CreateIndex' => [ 'summary' => 'Creates an index.'."\n" ."\n" .'Usage notes:'."\n" .'1. Only scalar indexes are supported.'."\n" .'2. Write operations on the table are prohibited during index creation.'."\n" .'3. Creating an index on a table with a large amount of data consumes CPU and I/O resources of the instance. If instance availability is affected, call CancelCreateIndexJob to cancel the index creation.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbIPPRRA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a region.', 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => [ 'description' => 'The ID of the workspace that consists of multiple database instances. This parameter and DBInstanceId cannot both be empty. If both this parameter and DBInstanceId are specified, this parameter takes precedence.', 'enumValueTitles' => [], 'type' => 'string', 'required' => false, 'enum' => ['ip', 'l2', 'cosine'], 'example' => 'gp-ws-*****', 'title' => '', ], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The namespace.'."\n" ."\n" .'> You can call the [ListNamespaces](~~2401502~~) operation to query the list.', 'type' => 'string', 'required' => true, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password of the namespace.'."\n" ."\n" .'> This value is specified by the CreateNamespace operation.', 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The collection name.'."\n" ."\n" .'> You can call the [ListCollections](~~2401503~~) operation to query the list.', 'type' => 'string', 'required' => true, 'example' => 'testcollection', 'title' => ''], ], [ 'name' => 'IndexName', 'in' => 'query', 'schema' => ['description' => 'The index name.', 'type' => 'string', 'required' => false, 'example' => 'testindex', 'title' => ''], ], [ 'name' => 'IndexField', 'in' => 'query', 'schema' => ['description' => 'The index field. Only a single field is supported, and the field must be a key defined in Metadata.', 'type' => 'string', 'required' => false, 'example' => 'title', 'title' => ''], ], [ 'name' => 'IndexConfig', 'in' => 'query', 'schema' => ['description' => 'The index parameters. If this parameter is not specified, a B-tree index is created by default.'."\n" ."\n" .'> '."\n" .'>- b-tree: The fillFactor parameter. Valid values: 10 to 100. Default value: 90.'."\n" .'>- gin: The fastUpdate parameter. Valid values: true and false. Default value: true.', 'type' => 'string', 'required' => false, 'example' => '{"b-tree":{"fillFactor":90}} or {"gin":{"fastUpdate":false}}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The detailed information returned by the operation.', 'type' => 'string', 'example' => 'Successfully create job', 'title' => ''], 'Status' => ['description' => 'The execution status of the API operation. Valid values:'."\n" .'- **success**: The operation was successful.'."\n" .'- **fail**: The operation failed.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'JobId' => ['description' => 'The task ID, which is used to query the task status or cancel the task.', 'type' => 'string', 'example' => '231460f8-75dc-405e-a669-0c5204887e91', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'Create an index', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateIndex', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"Successfully create job\\",\\n \\"Status\\": \\"success\\",\\n \\"JobId\\": \\"231460f8-75dc-405e-a669-0c5204887e91\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'CreateJDBCDataSource' => [ 'summary' => 'Creates a JDBC data source.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbYL5VZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DataSourceName', 'in' => 'query', 'schema' => ['description' => 'The name of data soruce', 'type' => 'string', 'required' => false, 'example' => 'jdbc_pxf', 'title' => ''], ], [ 'name' => 'DataSourceDescription', 'in' => 'query', 'schema' => ['description' => 'Data source description.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'DataSourceType', 'in' => 'query', 'schema' => ['description' => 'The type of the data source.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mysql', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxx', 'title' => ''], ], [ 'name' => 'JDBCConnectionString', 'in' => 'query', 'schema' => ['description' => 'The JDBC connection string.'."\n", 'type' => 'string', 'required' => false, 'example' => 'jdbc:mysql://rm-xxx.mysql.rds.aliyuncs.com:3306/testadmin', 'title' => ''], ], [ 'name' => 'JDBCUserName', 'in' => 'query', 'schema' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testuser', 'title' => ''], ], [ 'name' => 'JDBCPassword', 'in' => 'query', 'schema' => ['description' => 'The password of the database account.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testpasswd', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'DataSourceId' => ['description' => 'Data source ID.', 'type' => 'string', 'example' => '123', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '2C125605-266F-41CA-8AC5-3A643D4F42C5', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DataSourceId\\": \\"123\\",\\n \\"RequestId\\": \\"2C125605-266F-41CA-8AC5-3A643D4F42C5\\"\\n}","type":"json"}]', 'title' => 'CreateJDBCDataSource', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateJDBCDataSource'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateJDBCDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'CreateModelOperatorApiKey' => [ 'summary' => 'Creates a model creation operator API key.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description. Spaces are not allowed, and the value cannot exceed 256 characters.', 'type' => 'string', 'required' => true, 'example' => 'test-apikey', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'ApiKeyId' => ['description' => 'API KEY ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Create a model operator API key', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"ApiKeyId\\": 1\\n}","type":"json"}]', ], 'CreateModelService' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a region.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'ModelName', 'in' => 'query', 'schema' => ['description' => 'The model name.', 'type' => 'string', 'required' => true, 'example' => 'Qwen3-Embedding-8B', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'SecurityIPList', 'in' => 'query', 'schema' => ['description' => 'The IP whitelist.'."\n" ."\n" .'The value 127.0.0.1 indicates that no external IP addresses are allowed to access the instance. After the instance is created, you can call the [ModifySecurityIps](~~86928~~) operation to modify the IP whitelist.', 'type' => 'string', 'required' => false, 'example' => '127.0.0.1', 'title' => ''], ], [ 'name' => 'AiNodes', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The list of AI nodes used for model deployment.', 'type' => 'array', 'items' => ['description' => 'The AI node name.', 'type' => 'string', 'required' => false, 'example' => 'ai-xxxxxx', 'title' => ''], 'required' => true, 'title' => '', 'example' => '', ], ], [ 'name' => 'ModelParams', 'in' => 'query', 'style' => 'json', 'schema' => ['description' => 'The model parameters. This parameter is not supported.', 'type' => 'object', 'required' => false, 'example' => 'Not yet available.', 'title' => ''], ], [ 'name' => 'ResourceGroupId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the resource group to which the instance belongs. For information about how to obtain the resource group ID, see [View basic information of a resource group](~~151181~~).', 'type' => 'string', 'required' => false, 'example' => 'rg-bp67acfmxazb4p****', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'formData', 'schema' => ['description' => 'The idempotency check. For more information, see [How to ensure idempotence](~~327176~~).', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88**********', 'title' => ''], ], [ 'name' => 'Replicas', 'in' => 'query', 'schema' => ['description' => 'The number of model service replicas.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'InferenceEngine', 'in' => 'query', 'schema' => ['description' => 'The inference engine. Currently, only vllm is supported.', 'type' => 'string', 'required' => false, 'example' => 'vllm', 'title' => ''], ], [ 'name' => 'EnablePublicConnection', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable public network access.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ModelServiceId' => ['description' => 'The model service ID.', 'type' => 'string', 'example' => 'ms-xxxxxxxxx', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Create a model service', 'summary' => 'Creates a model service.', 'description' => 'Before you call this operation, make sure that you are familiar with the [billing methods](~~35406~~) and [pricing](https://www.aliyun.com/price/product#/gpdb/detail/GreenplumPost)[pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing) of AnalyticDB for PostgreSQL.', 'changeSet' => [ ['createdAt' => '2025-09-23T13:03:28.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateModelService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ModelServiceId\\": \\"ms-xxxxxxxxx\\",\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'CreateNamespace' => [ 'summary' => 'Creates a vector namespace.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182674', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~196830~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-bp152460513z****', 'title' => ''], ], [ 'name' => 'ManagerAccount', 'in' => 'query', 'schema' => ['description' => 'The name of the manager account that has the rds_superuser permission.'."\n" ."\n" .'> You can create an account on the Account Management page of the AnalyticDB for PostgreSQL console or by calling the [CreateAccount](~~2361789~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testaccount', 'title' => ''], ], [ 'name' => 'ManagerAccountPassword', 'in' => 'query', 'schema' => ['description' => 'The password of the manager account.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace. After the namespace is created, the system automatically creates an account that has the same name.'."\n" ."\n" .'> The name must comply with the naming conventions of PostgreSQL objects.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password of the namespace.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword2', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. You must specify one of the WorkspaceId and DBInstanceId parameters. If you specify both parameters, the WorkspaceId parameter takes effect.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'CreateNamespace', 'changeSet' => [ ['createdAt' => '2024-08-04T13:55:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-11-07T11:35:34.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateNamespace'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Namespace', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:namespace/{#DBInstanceId}'], ], ], ], ], ], 'CreateRemoteADBDataSource' => [ 'summary' => 'Create Homogeneous Data Source', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbJAU1J9'], ], 'parameters' => [ [ 'name' => 'LocalDBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID of the data being used (required).', 'type' => 'string', 'required' => true, 'example' => 'gp-test1', 'title' => ''], ], [ 'name' => 'LocalDatabase', 'in' => 'query', 'schema' => ['description' => 'Database name of the data being used (required)', 'type' => 'string', 'required' => true, 'example' => 'db1', 'title' => ''], ], [ 'name' => 'RemoteDBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID providing the data (required).', 'type' => 'string', 'required' => true, 'example' => 'gp-test2', 'title' => ''], ], [ 'name' => 'RemoteDatabase', 'in' => 'query', 'schema' => ['description' => 'Database name providing the data (required).', 'type' => 'string', 'required' => true, 'example' => 'db2', 'title' => ''], ], [ 'name' => 'UserName', 'in' => 'query', 'schema' => ['description' => 'Account name of the data-providing instance used for user mapping (required).', 'type' => 'string', 'required' => true, 'example' => 'account1', 'title' => ''], ], [ 'name' => 'UserPassword', 'in' => 'query', 'schema' => ['description' => 'Password of the data-providing instance account used for user mapping.', 'type' => 'string', 'required' => true, 'example' => 'password1', 'title' => ''], ], [ 'name' => 'ManagerUserName', 'in' => 'query', 'schema' => ['description' => 'Management account of the data-using instance.', 'type' => 'string', 'required' => true, 'example' => 'managerAccount', 'title' => ''], ], [ 'name' => 'ManagerUserPassword', 'in' => 'query', 'schema' => ['description' => 'Password of the management account of the data-using instance.', 'type' => 'string', 'required' => true, 'example' => 'password2', 'title' => ''], ], [ 'name' => 'DataSourceName', 'in' => 'query', 'schema' => ['description' => 'Customer-specified DataSourceName.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'DataSourceItem' => [ 'description' => 'Returns the successfully added data sharing service data.', 'type' => 'object', 'properties' => [ 'DataSourceName' => ['description' => 'Data source name.', 'type' => 'string', 'example' => 'db1_gptest1_to_db2_gp-test2', 'title' => ''], 'Description' => ['description' => 'Description information.', 'type' => 'string', 'example' => 'userName', 'title' => ''], 'Id' => ['description' => 'ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'LocalDatabase' => ['description' => 'Local database name', 'type' => 'string', 'example' => 'db1', 'title' => ''], 'LocalInstanceName' => ['description' => 'Local instance name', 'type' => 'string', 'example' => 'gp-test1', 'title' => ''], 'ManagerUserName' => ['description' => 'Management account user name', 'type' => 'string', 'example' => 'manager_user', 'title' => ''], 'RegionId' => ['description' => 'Region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) API to view available region IDs.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], 'RemoteDatabase' => ['description' => 'Remote database name', 'type' => 'string', 'example' => 'db2', 'title' => ''], 'RemoteInstanceName' => ['description' => 'Remote instance name', 'type' => 'string', 'example' => 'gp-test2', 'title' => ''], 'Status' => ['description' => 'Synchronization status', 'type' => 'string', 'example' => 'creating', 'title' => ''], 'UserName' => ['description' => 'User name', 'type' => 'string', 'example' => 'user1', 'title' => ''], ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'e9d60eb1-e90d-4bc6-a470-c8b767460858', 'title' => ''], 'TaskId' => ['description' => 'Workflow task ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '90000', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DataSourceItem\\": {\\n \\"DataSourceName\\": \\"db1_gptest1_to_db2_gp-test2\\",\\n \\"Description\\": \\"userName\\",\\n \\"Id\\": 1,\\n \\"LocalDatabase\\": \\"db1\\",\\n \\"LocalInstanceName\\": \\"gp-test1\\",\\n \\"ManagerUserName\\": \\"manager_user\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"RemoteDatabase\\": \\"db2\\",\\n \\"RemoteInstanceName\\": \\"gp-test2\\",\\n \\"Status\\": \\"creating\\",\\n \\"UserName\\": \\"user1\\"\\n },\\n \\"RequestId\\": \\"e9d60eb1-e90d-4bc6-a470-c8b767460858\\",\\n \\"TaskId\\": 90000\\n}","type":"json"}]', 'title' => 'CreateRemoteADBDataSource', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRemoteADBDataSource'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateRemoteADBDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'CreateSaasService' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The workspace of the SaaS service.', 'type' => 'string', 'required' => true, 'example' => 'ws-*****', 'title' => ''], ], [ 'name' => 'ServiceType', 'in' => 'query', 'schema' => ['description' => 'The service type. Valid values:'."\n" ."\n" .'- **memroy**'."\n" .'- **drama**', 'type' => 'string', 'required' => true, 'example' => 'drama', 'title' => ''], ], [ 'name' => 'PayType', 'in' => 'query', 'schema' => ['description' => 'The billing method. Valid values:'."\n" ."\n" .'- **Postpaid**: pay-as-you-go.'."\n" .'- **Prepaid**: subscription.'."\n" ."\n" .'> - If you leave this parameter empty, a Free type is created by default.'."\n" .'> - The subscription billing method offers discounts for purchases of one year or longer. Select a billing method as needed.', 'type' => 'string', 'required' => false, 'example' => 'Postpaid', 'title' => ''], ], [ 'name' => 'UsedTime', 'in' => 'query', 'schema' => ['description' => 'The duration for which you want to purchase the resource. Valid values:'."\n" .'- If **Period** is set to **Month**, the valid values are 1 to 11.'."\n" .'- If **Period** is set to **Year**, the valid values are 1 to 3.'."\n" ."\n" .'> This parameter is required when you create a subscription instance.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'Period', 'in' => 'query', 'schema' => ['description' => 'The unit of the duration for which you want to purchase the resource. Valid values:'."\n" .'- **Month**: month.'."\n" .'- **Year**: year.'."\n" ."\n" .'> This parameter is required when you create a subscription instance.', 'type' => 'string', 'required' => false, 'example' => 'Month', 'title' => ''], ], [ 'name' => 'Cu', 'in' => 'query', 'schema' => ['description' => 'The compute resources of the SaaS service.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'Plan', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'Deprecated.', 'type' => 'string', 'required' => false, 'example' => 'deprecated'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'agdb-eqxwj5tj5ojx', 'title' => ''], 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '7565770E-7C45-462D-BA4A-8A5396F2CAD1'], 'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'example' => '*********', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Create a saaS service', 'summary' => 'Creates a SaaS service.', 'description' => 'Before you use this operation, make sure that you fully understand the [billing methods](~~35406~~) and [pricing](https://www.aliyun.com/price/product#/gpdb/detail/GreenplumPost)[pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing) of AnalyticDB for PostgreSQL.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateSaasService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ServiceId\\": \\"agdb-eqxwj5tj5ojx\\",\\n \\"RequestId\\": \\"7565770E-7C45-462D-BA4A-8A5396F2CAD1\\",\\n \\"OrderId\\": \\"*********\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'CreateSampleData' => [ 'summary' => 'Creates a sample dataset for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbPA9FLY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~2361776~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a specific region.', 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'DBInstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], 'ErrorMessage' => ['description' => 'The error message returned if an error occurs. This message does not affect the execution of the operation.'."\n", 'type' => 'string', 'example' => '*********', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '15A6881F-AAAB-5E4D-9B3F-6DCC1BDF4F2E_99', 'title' => ''], 'Status' => ['description' => 'The execution state of the operation. Valid values:'."\n" ."\n" .'* **false**: The operation fails.'."\n" .'* **true**: The operation is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"DBInstanceId\\": \\"gp-bp12ga6v69h86****\\",\\n \\"ErrorMessage\\": \\"*********\\",\\n \\"RequestId\\": \\"15A6881F-AAAB-5E4D-9B3F-6DCC1BDF4F2E_99\\",\\n \\"Status\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n 15A6881F-AAAB-5E4D-9B3F-6DCC1BDF4F2E_99\\n true\\n gp-bp12ga6v69h86****\\n","errorExample":""}]', 'title' => 'CreateSampleData', 'description' => '* 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 experience or test your instance. For more information about query statements, see [Dataset information and query examples](~~452277~~).'."\n" .'* This operation is supported only for AnalyticDB for PostgreSQL V6.3.8.8 to 6.3.8.x, V6.3.10.3, and later.'."\n" .'* Versions from V6.3.9.0 to V6.3.10.2 are not supported.'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateSampleData'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:CreateSampleData', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'CreateSecret' => [ 'summary' => 'Creates an access credential for an AnalyticDB for PostgreSQL instance by using the name and password of a database account.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '225479', 'abilityTreeNodes' => ['FEATUREgpdb95T353'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. You must specify one of the WorkspaceId and DBInstanceId parameters. If you specify both parameters, the WorkspaceId parameter takes precedence.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'Username', 'in' => 'query', 'schema' => ['description' => 'The name of the database account that is used to access the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testacc', 'title' => ''], ], [ 'name' => 'Password', 'in' => 'query', 'schema' => ['description' => 'The password of the database account that is used to access the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'pwd123', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description of the access credential.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'SecretName', 'in' => 'query', 'schema' => ['description' => 'The name of the access credential. The name must be 1 to 16 characters in length and can contain letters, digits, and underscores (\\_). If you leave this parameter empty, the value of the Username parameter is used.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testsecret', 'title' => ''], ], [ 'name' => 'TestConnection', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to check the connectivity to the instance by using the name and password of the database account.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'SecretArn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the access credential for the created Data API account. Format: `acs:gpdb:{{region}}:{{accountId}}:secret/{{secretName}}-{{32 digits random string}`.'."\n", 'type' => 'string', 'example' => 'acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ', 'title' => ''], 'SecretName' => ['description' => 'The name of the access credential.'."\n", 'type' => 'string', 'example' => 'testsecret', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"Successful\\",\\n \\"Status\\": \\"success\\",\\n \\"SecretArn\\": \\"acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ\\",\\n \\"SecretName\\": \\"testsecret\\"\\n}","type":"json"}]', 'title' => 'CreateSecret', 'changeSet' => [ ['createdAt' => '2025-03-11T17:01:34.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSecret'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateSecret', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'CreateServiceLinkedRole' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdb4XJ12W'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'CreateServiceLinkedRole', 'summary' => 'Creates a service-linked role.', 'changeSet' => [ ['createdAt' => '2021-05-11T08:18:17.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceLinkedRole'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateServiceLinkedRole', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","errorExample":""},{"type":"xml","example":"\\n B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\n","errorExample":""}]', ], 'CreateSnapshot' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID. Specifies the region in which to perform the operation.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The Supabase project ID.', 'type' => 'string', 'required' => true, 'example' => 'spb-xxxx', 'title' => ''], ], [ 'name' => 'SnapshotTimestamp', 'in' => 'query', 'schema' => ['description' => 'The point in time for the snapshot. You must specify either this parameter or Lsn. If this parameter is specified, the snapshot is created based on the specified point in time.', 'type' => 'string', 'required' => false, 'example' => '2026-04-08T09:11:12Z', 'title' => ''], ], [ 'name' => 'Lsn', 'in' => 'query', 'schema' => ['description' => 'The LSN for the snapshot. You must specify either this parameter or SnapshotTimestamp. If this parameter is specified, the snapshot is created based on the specified LSN.', 'type' => 'string', 'required' => false, 'example' => '0/3522648', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => ['description' => 'The idempotence token. Ensures that repeated requests do not result in duplicate operations.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'Lsn' => ['description' => 'The LSN for the snapshot. You must specify either this parameter or SnapshotTimestamp. If this parameter is specified, the snapshot is created based on the specified LSN.', 'type' => 'string', 'example' => '0/3522648', 'title' => ''], 'Timestamp' => ['description' => 'The actual point in time corresponding to the created snapshot.', 'type' => 'string', 'example' => '2026-04-08T09:11:12Z', 'title' => ''], 'BranchId' => ['description' => 'The branch ID to which the snapshot belongs.', 'type' => 'string', 'example' => 'br-xxxx', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Create a snapshot', 'summary' => 'Creates a snapshot for a Supabase project.', 'description' => 'Creates a snapshot for a Supabase project based on a specified point in time or Log Sequence Number (LSN). You must specify either SnapshotTimestamp or Lsn. ClientToken is used to ensure idempotence of the request.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateSnapshot', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"Lsn\\": \\"0/3522648\\",\\n \\"Timestamp\\": \\"2026-04-08T09:11:12Z\\",\\n \\"BranchId\\": \\"br-xxxx\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'CreateStreamingDataService' => [ 'summary' => 'Create External Data Source Configuration', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '198231', 'abilityTreeNodes' => ['FEATUREgpdbGXMEN1', 'FEATUREgpdbO4XFZ3'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent list of regions.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ServiceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'example' => 'test-adbpgss', 'description' => 'The name of the service.'."\n", 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'example' => 'gp-bp10g78o9807yv9h3', 'description' => 'The instance ID.'."\n", 'title' => ''], ], [ 'name' => 'ServiceSpec', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'example' => '2', 'description' => 'The specifications of the service.'."\n", 'title' => ''], ], [ 'name' => 'ServiceDescription', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'example' => 'test-adbpgss', 'description' => 'The description of the service.'."\n", 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'description' => 'The request ID.'."\n", 'title' => ''], 'ServiceId' => ['description' => 'The real-time data service ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"ServiceId\\": 1\\n}","type":"json"}]', 'title' => 'CreateStreamingDataService', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateStreamingDataService'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateStreamingDataService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'CreateStreamingDataSource' => [ 'summary' => 'Creates a real-time data source.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbGXMEN1'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID.'."\n" ."\n" .'> You can view available region IDs through the [DescribeRegions](~~86912~~) interface.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'DataSourceName', 'in' => 'query', 'schema' => ['description' => 'Data source name.', 'type' => 'string', 'required' => true, 'example' => 'test-kafka', 'title' => ''], ], [ 'name' => 'DataSourceType', 'in' => 'query', 'schema' => ['description' => 'Data source type. Values:'."\n" .' - kafka', 'type' => 'string', 'required' => true, 'example' => 'kafka', 'title' => ''], ], [ 'name' => 'DataSourceDescription', 'in' => 'query', 'schema' => ['description' => 'Data source description.', 'type' => 'string', 'required' => false, 'example' => 'test-kafka', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'CreateExternalDataSource', 'title' => ''], ], [ 'name' => 'DataSourceConfig', 'in' => 'query', 'schema' => ['description' => 'Data source configuration information.', 'type' => 'string', 'required' => true, 'example' => '{"broker_list":"broker0:9091,broker1:9091","topic":"topic"}', 'title' => ''], ], [ 'name' => 'ServiceId', 'in' => 'query', 'schema' => ['description' => 'Real-time data service ID.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'DataSourceId' => ['description' => 'Data source ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DataSourceId\\": 1,\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","type":"json"}]', 'title' => 'CreateStreamingDataSource', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateStreamingDataSource'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateStreamingDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'CreateStreamingJob' => [ 'summary' => 'Create External Data Source Configuration', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbGXMEN1'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) API to view available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-bp10g78o9807yv9h3', 'title' => ''], ], [ 'name' => 'DataSourceId', 'in' => 'query', 'schema' => ['description' => 'Data source ID.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'JobDescription', 'in' => 'query', 'schema' => ['description' => 'Job description.', 'type' => 'string', 'required' => false, 'example' => 'test-job', 'title' => ''], ], [ 'name' => 'JobName', 'in' => 'query', 'schema' => ['description' => 'Job name.', 'type' => 'string', 'required' => true, 'example' => 'test-job', 'title' => ''], ], [ 'name' => 'Mode', 'in' => 'query', 'schema' => [ 'description' => 'Configuration mode'."\n" .'1. Basic mode requires specifying some configuration fields'."\n" .'1. Professional mode supports submitting a YAML file', 'type' => 'string', 'required' => false, 'enumValueTitles' => [], 'example' => 'basic / professional', 'enum' => ['basic', 'professional'], 'title' => '', ], ], [ 'name' => 'SrcColumns', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'Source data field list.', 'type' => 'array', 'items' => ['description' => 'Source data field key.', 'type' => 'string', 'required' => false, 'example' => 'src_column_1', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'DestColumns', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'Target data table mapping field list.', 'type' => 'array', 'items' => ['description' => 'Mapping field key in the target table.', 'type' => 'string', 'required' => false, 'example' => 'dest_column_1', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'Account', 'in' => 'query', 'schema' => ['description' => 'Target database account.', 'type' => 'string', 'required' => false, 'example' => 'test-account', 'title' => ''], ], [ 'name' => 'Password', 'in' => 'query', 'schema' => ['description' => 'Target database password.', 'type' => 'string', 'required' => false, 'example' => 'pwd123', 'title' => ''], ], [ 'name' => 'DestDatabase', 'in' => 'query', 'schema' => ['description' => 'Target database name.', 'type' => 'string', 'required' => false, 'example' => 'dest-db', 'title' => ''], ], [ 'name' => 'DestSchema', 'in' => 'query', 'schema' => ['description' => 'Target namespace.', 'type' => 'string', 'required' => false, 'example' => 'dest-schema', 'title' => ''], ], [ 'name' => 'DestTable', 'in' => 'query', 'schema' => ['description' => 'Target table name.', 'type' => 'string', 'required' => false, 'example' => 'dest-table', 'title' => ''], ], [ 'name' => 'WriteMode', 'in' => 'query', 'schema' => [ 'description' => 'Write mode.', 'type' => 'string', 'required' => false, 'enumValueTitles' => ['MERGE' => 'MERGE', 'INSERT' => 'INSERT', 'UPDATE' => 'UPDATE'], 'example' => 'INSERT/UPDATE/MERGE', 'enum' => ['insert', 'update', 'merge'], 'title' => '', ], ], [ 'name' => 'TryRun', 'in' => 'query', 'schema' => ['description' => 'Whether to test the real-time task, values:'."\n" ."\n" .'- true'."\n" ."\n" .'- false'."\n" ."\n" .'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false', 'title' => ''], ], [ 'name' => 'JobConfig', 'in' => 'query', 'schema' => ['description' => 'Job configuration file, required for professional mode.', 'type' => 'string', 'required' => false, 'example' => 'DATABASE: adbpgss_test'."\n" .'USER: adbpgss_test'."\n" .'PASSWORD: adbpgssTest'."\n" .'HOST: gp-xxx-master.gpdb.rds-aliyun-pre.rds.aliyuncs.com'."\n" .'PORT: 5432'."\n" .'KAFKA:'."\n" .' INPUT:'."\n" .' SOURCE:'."\n" .' BROKERS: broker1:9092,broker2:9092,broker3:9092'."\n" .' TOPIC: testtopic'."\n" .' FALLBACK_OFFSET: earliest'."\n" .' KEY:'."\n" .' COLUMNS:'."\n" .' - NAME: customer_id'."\n" .' TYPE: int'."\n" .' FORMAT: delimited'."\n" .' DELIMITED_OPTION:'."\n" .' DELIMITER: \'|\''."\n" .' VALUE:'."\n" .' COLUMNS:'."\n" .' - TYPE: integer'."\n" .' NAME: l_orderkey'."\n" .' - TYPE: integer'."\n" .' NAME: l_partkey'."\n" .' - TYPE: integer'."\n" .' NAME: l_suppkey'."\n" .' - TYPE: integer'."\n" .' NAME: l_linenumber'."\n" .' - TYPE: decimal'."\n" .' NAME: l_quantity'."\n" .' - TYPE: decimal'."\n" .' NAME: l_extendedprice'."\n" .' - TYPE: decimal'."\n" .' NAME: l_discount'."\n" .' - TYPE: decimal'."\n" .' NAME: l_tax'."\n" .' - TYPE: char'."\n" .' NAME: l_returnflag'."\n" .' - TYPE: char'."\n" .' NAME: l_linestatus'."\n" .' - TYPE: date'."\n" .' NAME: l_shipdate'."\n" .' - TYPE: date'."\n" .' NAME: l_commitdate'."\n" .' - TYPE: date'."\n" .' NAME: l_receiptdate'."\n" .' - TYPE: text'."\n" .' NAME: l_shipinstruct'."\n" .' - TYPE: text'."\n" .' NAME: l_shipmode'."\n" .' - TYPE: text'."\n" .' NAME: l_comment'."\n" .' FORMAT: delimited'."\n" .' DELIMITED_OPTION:'."\n" .' DELIMITER: \'|\''."\n" .' ERROR_LIMIT: 10'."\n" .' OUTPUT:'."\n" .' SCHEMA: adbpgss_test'."\n" .' TABLE: write_with_insert_plaintext'."\n" .' MODE: MERGE'."\n" .' MATCH_COLUMNS:'."\n" .' - l_orderkey'."\n" .' - l_partkey'."\n" .' - l_suppkey'."\n" .' UPDATE_COLUMNS:'."\n" .' - l_linenumber'."\n" .' - l_quantity'."\n" .' - l_extendedprice'."\n" .' - l_discount'."\n" .' - l_tax'."\n" .' - l_returnflag'."\n" .' - l_linestatus'."\n" .' - l_shipdate'."\n" .' - l_commitdate'."\n" .' - l_receiptdate'."\n" .' - l_shipinstruct'."\n" .' - l_shipmode'."\n" .' - l_comment'."\n" .' MAPPING:'."\n" .' - EXPRESSION: l_orderkey'."\n" .' NAME: l_orderkey'."\n" .' - EXPRESSION: l_partkey'."\n" .' NAME: l_partkey'."\n" .' - EXPRESSION: l_suppkey'."\n" .' NAME: l_suppkey'."\n" .' - EXPRESSION: l_linenumber'."\n" .' NAME: l_linenumber'."\n" .' - EXPRESSION: l_quantity'."\n" .' NAME: l_quantity'."\n" .' - EXPRESSION: l_extendedprice'."\n" .' NAME: l_extendedprice'."\n" .' - EXPRESSION: l_discount'."\n" .' NAME: l_discount'."\n" .' - EXPRESSION: l_tax'."\n" .' NAME: l_tax'."\n" .' - EXPRESSION: l_returnflag'."\n" .' NAME: l_returnflag'."\n" .' - EXPRESSION: l_linestatus'."\n" .' NAME: l_linestatus'."\n" .' - EXPRESSION: l_shipdate'."\n" .' NAME: l_shipdate'."\n" .' - EXPRESSION: l_commitdate'."\n" .' NAME: l_commitdate'."\n" .' - EXPRESSION: l_receiptdate'."\n" .' NAME: l_receiptdate'."\n" .' - EXPRESSION: l_shipinstruct'."\n" .' NAME: l_shipinstruct'."\n" .' - EXPRESSION: l_shipmode'."\n" .' NAME: l_shipmode'."\n" .' - EXPRESSION: l_comment'."\n" .' NAME: l_comment'."\n" .' COMMIT:'."\n" .' MAX_ROW: 1000'."\n" .' MINIMAL_INTERVAL: 1000'."\n" .' CONSISTENCY: ATLEAST'."\n" .' POLL:'."\n" .' BATCHSIZE: 1000'."\n" .' TIMEOUT: 1000'."\n" .' PROPERTIES:'."\n" .' group.id: testgroup'."\n", 'title' => ''], ], [ 'name' => 'GroupName', 'in' => 'query', 'schema' => ['description' => 'Kafka group name', 'type' => 'string', 'required' => false, 'example' => 'group_name。', 'title' => ''], ], [ 'name' => 'FallbackOffset', 'in' => 'query', 'schema' => [ 'description' => 'FallbackOffset, fallback offset'."\n" ."\n" .'- The FallbackOffset parameter defines the behavior when the consumer does not request a specific offset or the requested offset exceeds the current Kafka cluster\'s recorded offset information. You can choose to start consuming from the earliest (newest) or latest (oldest) offset.', 'type' => 'string', 'required' => false, 'enumValueTitles' => ['EARLIEST' => 'EARLIEST', 'LATEST' => 'LATEST'], 'example' => 'EARLIEST / LATEST', 'enum' => ['earliest', 'latest'], 'title' => '', ], ], [ 'name' => 'MatchColumns', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'Match columns, usually all primary key columns of the target table. If all column values in this configuration are the same, the two rows of data are considered duplicates.', 'type' => 'array', 'items' => ['description' => 'Match field key.', 'type' => 'string', 'required' => false, 'example' => 'column_1', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'UpdateColumns', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'Update columns, usually all non-primary key columns of the target table. When data is determined to be duplicate through MatchColumns, updating the UpdateColumns column values will result in new data overwriting old data.', 'type' => 'array', 'items' => ['description' => 'Update field key.', 'type' => 'string', 'required' => false, 'example' => 'column_1', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'ErrorLimitCount', 'in' => 'query', 'schema' => ['description' => 'When data in Kafka does not match the ADBPG target table, it will cause a write failure. This value is the number of error rows allowed; exceeding this will cause the task to fail.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5', 'title' => ''], ], [ 'name' => 'Consistency', 'in' => 'query', 'schema' => [ 'description' => 'Delivery guarantee.', 'type' => 'string', 'required' => false, 'example' => 'ATLEAST / EXACTLY', 'enum' => ['ATLEAST', 'EXACTLY'], 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'JobId' => ['description' => 'Job ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"JobId\\": 1,\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","type":"json"}]', 'title' => 'CreateStreamingJob', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateStreamingJob'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateStreamingJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'CreateSupabaseProject' => [ 'summary' => 'Creates a Supabase project.', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID. Specifies the region in which to create the project.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ProjectName', 'in' => 'query', 'schema' => ['description' => 'The name of the Supabase project.'."\n" ."\n" .'Naming rules:'."\n" ."\n" .'- The name must be 1 to 128 characters in length.'."\n" .'- The name can contain letters, digits, hyphens (-), and underscores (_).'."\n" .'- The name must start with a letter or an underscore (_).', 'type' => 'string', 'required' => true, 'example' => 'supabase_demo', 'title' => ''], ], [ 'name' => 'ZoneId', 'in' => 'query', 'schema' => ['description' => 'The zone ID. The zone of the vSwitch specified by VSwitchId must be the same as this parameter value.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou-i', 'title' => ''], ], [ 'name' => 'AccountPassword', 'in' => 'query', 'schema' => ['description' => 'The password of the initial account.'."\n" ."\n" .'Password rules:'."\n" ."\n" .'- The password must be 8 to 32 characters in length.'."\n" .'- The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.'."\n" .'- Supported special characters include !@#$%^&*()_+-=.', 'type' => 'string', 'required' => true, 'example' => 'TestPassword123!', 'title' => ''], ], [ 'name' => 'SecurityIPList', 'in' => 'query', 'schema' => ['description' => 'The IP address whitelist. Separate multiple IP addresses or CIDR blocks with commas (,). If this parameter is not specified, the default value 0.0.0.0/0 is used.', 'type' => 'string', 'required' => true, 'example' => '0.0.0.0/0', 'title' => ''], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['description' => 'The ID of the virtual private cloud (VPC). This parameter is required.', 'type' => 'string', 'required' => true, 'example' => 'vpc-bp1234567890', 'title' => ''], ], [ 'name' => 'VSwitchId', 'in' => 'query', 'schema' => ['description' => 'The vSwitch ID. This parameter is required. The zone of the vSwitch must be the same as the value of ZoneId.', 'type' => 'string', 'required' => true, 'example' => 'vsw-bp1234567890', 'title' => ''], ], [ 'name' => 'ProjectSpec', 'in' => 'query', 'schema' => ['description' => 'The specifications of the Supabase project. The Free billing type uses free-tier specifications. For paid billing types, the specifications must match those available in the console.', 'type' => 'string', 'required' => true, 'example' => '2C4G', 'title' => ''], ], [ 'name' => 'StorageSize', 'in' => 'query', 'schema' => ['description' => 'The storage size. Unit: GB. If this parameter is not specified for non-Free billing types, the default value is 1 GB.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '50', 'title' => ''], ], [ 'name' => 'DiskPerformanceLevel', 'in' => 'query', 'schema' => ['description' => 'The performance level (PL) of the cloud disk. If this parameter is not specified, the default value PL0 is used.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'- PL0'."\n" .'- PL1'."\n" .'- PL2'."\n" .'- PL3', 'type' => 'string', 'required' => false, 'example' => 'PL0', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => ['description' => 'The idempotency token. Ensures that duplicate requests do not result in duplicate operations.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'PayType', 'in' => 'query', 'schema' => ['description' => 'The billing method. If this parameter is not specified, the default value Free is used.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'- Free: free tier.'."\n" .'- Postpaid: pay-as-you-go.'."\n" .'- Prepaid: subscription.', 'type' => 'string', 'required' => false, 'example' => 'Free', 'title' => ''], ], [ 'name' => 'UsedTime', 'in' => 'query', 'schema' => ['description' => 'The subscription duration. This parameter takes effect only when PayType is set to PrePay. If this parameter is not specified, the default value is 1.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'Period', 'in' => 'query', 'schema' => ['description' => 'The unit of the subscription duration. This parameter takes effect only when PayType is set to PrePay. If this parameter is not specified, the default value Month is used.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'- Month: month.'."\n" .'- Year: year.', 'type' => 'string', 'required' => false, 'example' => 'Month', 'title' => ''], ], [ 'name' => 'AutoScale', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable auto start/stop. If this parameter is not specified, the default value false is used.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'EngineVersion', 'in' => 'query', 'schema' => ['description' => 'The DPI engine version. If this parameter is not specified, the default value PG15 is used. PG17 and later versions support the data sandbox (branch) feature.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'- PG15: PostgreSQL 15.'."\n" .'- PG17: PostgreSQL 17, which supports the data sandbox feature.', 'type' => 'string', 'required' => false, 'example' => 'PG15', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'ProjectId' => ['description' => 'The instance ID of the Supabase instance.', 'type' => 'string', 'example' => 'spb-xxxx', 'title' => ''], 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B'], 'OrderId' => ['description' => 'The ID of the associated order.', 'type' => 'string', 'example' => '278880417310796', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ProjectId\\": \\"spb-xxxx\\",\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"OrderId\\": \\"278880417310796\\"\\n}","type":"json"}]', 'title' => 'Create a supabase project', 'description' => 'Creates a Supabase project in a specified region and zone. This operation supports Free, pay-as-you-go, and subscription billing methods. You can specify the network, specifications, storage, access IP address whitelist, DPI engine version, and auto start/stop configurations.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateSupabaseProject', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/*'], ], ], ], ], ], 'CreateVectorIndex' => [ 'summary' => 'Creates an index for a vector collection.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbIPPRRA'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to view the details of all AnalyticDB for PostgreSQL instances in a specific region, including the instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The collection name.'."\n" ."\n" .'> You can call the [ListCollections](~~2401503~~) operation to list all collections.', 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'Dimension', 'in' => 'query', 'schema' => ['description' => 'The vector dimension.'."\n" ."\n" .'> - This parameter is required for dense vectors.'."\n" .'>'."\n" .'> - This value must match the length of the `Rows.Vector` data provided when calling the [UpsertCollectionData](~~2401493~~) operation.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1024', 'title' => ''], ], [ 'name' => 'ManagerAccount', 'in' => 'query', 'schema' => ['description' => 'The name of the management account that has `rds_superuser` permissions.'."\n" ."\n" .'> You can create an account on the \\*\\*account management\\*\\* page in the console or by calling the [CreateAccount](~~2361789~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'testaccount', 'title' => ''], ], [ 'name' => 'ManagerAccountPassword', 'in' => 'query', 'schema' => ['description' => 'The password of the management account.', 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Metrics', 'in' => 'query', 'schema' => [ 'description' => 'The distance metric used to build the vector index. Valid values:'."\n" ."\n" .'- `l2`: euclidean distance'."\n" ."\n" .'- `ip`: dot product (inner product)'."\n" ."\n" .'- `cosine`: cosine similarity'."\n" ."\n" .'> Sparse vectors support only `ip`.', 'type' => 'string', 'required' => false, 'enum' => ['ip', 'l2', 'cosine'], 'example' => 'cosine', 'title' => '', ], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The namespace. The default value is `public`.'."\n" ."\n" .'> You can call the [ListNamespaces](~~2401502~~) operation to list all namespaces.', 'type' => 'string', 'default' => 'public', 'required' => false, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'PqEnable', 'in' => 'query', 'schema' => [ 'description' => 'Specifies whether to enable Product Quantization (PQ) to accelerate indexing. Recommended for collections with over 500,000 vectors. Valid values:'."\n" ."\n" .'- `0`: Disabled.'."\n" ."\n" .'- `1`: Enabled. (Default)', 'type' => 'integer', 'format' => 'int32', 'enum' => ['0', '1'], 'required' => false, 'example' => '1', 'title' => '', ], ], [ 'name' => 'HnswM', 'in' => 'query', 'schema' => ['description' => 'The maximum number of neighbors for the Hierarchical Navigable Small World (HNSW) algorithm. The system automatically sets this value based on the vector dimension. You do not typically need to configure this parameter manually.'."\n" ."\n" .'> Valid values:'."\n" .'>'."\n" .'> - For AnalyticDB for PostgreSQL V6.0 instances: 1 to 1,000.'."\n" .'>'."\n" .'> - For AnalyticDB for PostgreSQL V7.0 instances: 2 to 100. The default value is 16.'."\n" ."\n" .'> We recommend the following values based on the vector dimension:'."\n" .'>'."\n" .'> - For dimensions of 384 or less: 16'."\n" .'>'."\n" .'> - For dimensions from 385 to 768: 32'."\n" .'>'."\n" .'> - For dimensions from 769 to 1,024: 64'."\n" .'>'."\n" .'> - For dimensions greater than 1,024: 128', 'type' => 'integer', 'format' => 'int32', 'maximum' => '1000', 'minimum' => '1', 'required' => false, 'example' => '64', 'title' => ''], ], [ 'name' => 'HnswEfConstruction', 'in' => 'query', 'schema' => ['description' => 'The size of the candidate set for the HNSW algorithm during index construction. The value must be in the range of 4 to 1,000. The default value is 64.'."\n" ."\n" .'> This parameter applies only to AnalyticDB for PostgreSQL V7.0 instances, and its value must be greater than or equal to `2 * HnswM`.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '128', 'title' => ''], ], [ 'name' => 'ExternalStorage', 'in' => 'query', 'schema' => [ 'description' => 'Specifies whether to use `mmap` to build the HNSW index. The default value is 0. Set this to 1 for high-performance data uploads in scenarios where data deletion is not required.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'- `0`: (Default) Builds the index by using segmented page storage. This mode uses the `shared_buffer` in PostgreSQL for caching and supports delete and update operations.'."\n" ."\n" .'- `1`: Builds the index by using `mmap`. This mode does not support delete and update operations.'."\n" ."\n" .'>'."\n" ."\n" .'The `ExternalStorage` parameter is supported only by AnalyticDB for PostgreSQL V6.0.'."\n" ."\n" .'>', 'type' => 'integer', 'format' => 'int32', 'enum' => ['0', '1'], 'required' => false, 'example' => '0', 'title' => '', ], ], [ 'name' => 'Type', 'in' => 'query', 'schema' => ['description' => 'The vector type. Valid values:'."\n" ."\n" .'- `Dense`: (Default) a dense vector'."\n" ."\n" .'- `Sparse`: a sparse vector', 'type' => 'string', 'required' => false, 'example' => 'Dense', 'title' => ''], ], [ 'name' => 'Algorithm', 'in' => 'query', 'schema' => ['description' => 'The vector indexing algorithm.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'- `hnswflat`: (Default) An HNSW index that does not use quantization compression.'."\n" ."\n" .'- `novam`: A graph-based index that does not use quantization compression. This algorithm is suitable for high-performance scenarios, such as real-time recommendations.'."\n" ."\n" .'- `novad`: A partitioned index that uses rabitq quantization. This algorithm is suitable for large-scale, cost-effective retrieval scenarios.', 'type' => 'string', 'required' => false, 'example' => 'hnswflat', 'title' => ''], ], [ 'name' => 'Nlist', 'in' => 'query', 'schema' => ['description' => 'The number of lists (partitions) for the Novad algorithm. The value must be in the range of 2 to 1,073,741,824. The default value is 256.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '256', 'title' => ''], ], [ 'name' => 'RabitqBits', 'in' => 'query', 'schema' => ['description' => 'The number of bits for rabitq compression. The valid range is 1 to 8. The default value is 3.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Status' => ['description' => 'The status of the request. Valid values:'."\n" ."\n" .'- **success**: The request was successful.'."\n" ."\n" .'- **fail**: The request failed.', 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"Successful\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'Create Vector Index', 'changeSet' => [ ['createdAt' => '2025-03-11T17:01:38.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-01-14T13:08:25.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-01-09T12:35:39.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-11-07T11:35:35.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-08-08T12:18:50.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVectorIndex'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateVectorIndex', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], 'translator' => 'manual', ], 'CreateWorkspace' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'WorkspaceName', 'in' => 'query', 'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'example' => 'my-first-workspace', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> Currently, only four units are supported.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'WorkspaceId' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => 'ws-*****', 'title' => ''], 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521'], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Create a workspace', 'summary' => 'Creates a SaaS workspace.', 'description' => 'Creates a context service workspace.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateWorkspace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"WorkspaceId\\": \\"ws-*****\\",\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'DeleteAINode' => [ 'summary' => 'Delete AI Node', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'AINodePoolId', 'in' => 'query', 'schema' => ['description' => 'The ID of the AINode resource pool.'."\n", 'type' => 'string', 'required' => false, 'example' => 'aipool-xxxx', 'title' => ''], ], [ 'name' => 'AINodeNum', 'in' => 'query', 'schema' => ['description' => 'The number of AINodes to be deleted.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'NodeNames', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The list of AINodes to be deleted.'."\n", 'type' => 'array', 'items' => ['description' => 'The ID of the AINode to be deleted.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ai-xxxxx', 'title' => ''], 'required' => false, 'maxItems' => 100, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'OrderId' => ['title' => '', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => '*********'], 'RequestId' => ['title' => '', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OrderId\\": \\"*********\\",\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'title' => 'DeleteAINode', 'description' => '* Subscription instances cannot be manually released. They are automatically released when they expire.'."\n" .'* You can call this operation to release pay-as-you-go instances only when they are in the **Running** state.'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:DeleteAINode', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DeleteAIService' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including the instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Type', 'in' => 'query', 'schema' => ['description' => 'The service type. Currently, only drama is supported.', 'type' => 'string', 'required' => true, 'example' => 'drama', 'title' => ''], ], [ 'name' => 'ServiceId', 'in' => 'query', 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'example' => 'drama-123456', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Delete an AI service', 'summary' => 'Deletes an AI service.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:DeleteAIService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'DeleteAccount' => [ 'summary' => 'Deletes a database account.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '227833', 'abilityTreeNodes' => ['FEATUREgpdb2U0VE3'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp***************'."\n", 'title' => ''], ], [ 'name' => 'AccountName', 'in' => 'query', 'schema' => ['description' => 'The name of the database account. The privileged account cannot be deleted.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testuser'."\n", 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '7565770E-7C45-462D-BA4A-8A5396****'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7565770E-7C45-462D-BA4A-8A5396****\\"\\n}","type":"json"}]', 'title' => 'DeleteAccount', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAccount'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'gpdb:DeleteAccount', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DeleteBackup' => [ 'summary' => 'Deletes a backup set. You can call this operation to delete only physical backup sets that are manually backed up.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '233253', 'abilityTreeNodes' => ['FEATUREgpdbS95BLZ'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'BackupId', 'in' => 'query', 'schema' => ['description' => 'The backup set ID.'."\n" ."\n" .'> You can call the [DescribeDataBackups](~~210093~~) operation to query the IDs of all backup sets in an instance.'."\n", 'type' => 'string', 'required' => true, 'example' => '1111111111', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'title' => 'DeleteBackup', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteBackup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DeleteBranch' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID. This parameter is required when you create a primary branch. When you create a child branch, the region is inherited from the primary branch by default.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'BranchId', 'in' => 'query', 'schema' => ['description' => 'The branch ID, which uniquely identifies a Supabase branch.', 'type' => 'string', 'required' => true, 'example' => 'br-xxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D****', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Delete a branch', 'summary' => 'Deletes a Supabase branch.', 'description' => 'Deletes a specified Supabase branch. The default branch or a branch that still has child branches cannot be deleted.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteBranch', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Branch', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:branch/{#BranchId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D****\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'DeleteChunks' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> Call the [DescribeDBInstances](~~86911~~) operation to view details for all AnalyticDB for PostgreSQL instances in a specific region, including their instance IDs.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace. The default value is public.'."\n" ."\n" .'> Call the [ListNamespaces](~~2401502~~) operation to view a list of namespaces.', 'type' => 'string', 'default' => 'public', 'required' => false, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password for the namespace.'."\n" ."\n" .'> This password is set when you call the [CreateNamespace](~~2401495~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the document collection.'."\n" ."\n" .'> You create this document collection by calling the [CreateDocumentCollection](~~2618448~~) operation. To view existing document collections, call the [ListDocumentCollections](~~2618452~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'testcollection', 'title' => ''], ], [ 'name' => 'ChunkIds', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'type' => 'array', 'items' => ['description' => 'A chunk ID.', 'type' => 'string', 'required' => true, 'example' => 'doc_1234', 'title' => ''], 'required' => true, 'description' => 'A list of chunk IDs.', 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'DeleteChunks', 'summary' => 'Deletes chunks from a document collection.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","type":"json"}]', 'translator' => 'manual', ], 'DeleteCollection' => [ 'summary' => 'Deletes a vector collection.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182774', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.'."\n" ."\n" .'> You can call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password of the namespace.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the collection.'."\n", 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. You must specify one of the WorkspaceId and DBInstanceId parameters. If you specify both parameters, the WorkspaceId parameter takes effect.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"Successful\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'DeleteCollection', 'changeSet' => [ ['createdAt' => '2024-08-04T13:55:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-11-07T11:35:35.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCollection'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DeleteCollection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], ], 'DeleteCollectionData' => [ 'summary' => 'Deletes vector data.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '184987', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances within a region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace. Default value: public.'."\n" ."\n" .'> You can call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the collection.'."\n", 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password of the namespace.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'CollectionData', 'in' => 'query', 'schema' => ['description' => 'The data that you want to delete.'."\n", 'type' => 'string', 'required' => false, 'example' => '{"title":["a","b"]}', 'title' => ''], ], [ 'name' => 'CollectionDataFilter', 'in' => 'query', 'schema' => ['description' => 'The filter conditions for the data to be deleted.'."\n", 'type' => 'string', 'required' => false, 'example' => 'a < 10', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. You must specify one of the WorkspaceId and DBInstanceId parameters. If you specify both parameters, the WorkspaceId parameter takes effect.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'AppliedRows' => ['description' => 'The number of rows that are affected by the request.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"Successful\\",\\n \\"Status\\": \\"success\\",\\n \\"AppliedRows\\": 10\\n}","type":"json"}]', 'title' => 'DeleteCollectionData', 'changeSet' => [ ['createdAt' => '2024-08-04T13:55:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-11-07T11:35:36.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-07-20T07:08:43.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCollectionData'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteCollectionData', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], ], 'DeleteDBInstance' => [ 'summary' => 'Releases a pay-as-you-go AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbFNYD3H'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'This parameter is no longer used.'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. For more information, see [How to ensure idempotence](~~327176~~).'."\n", 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88**********', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp***************', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '65BDA532-28AF-4122-AA39-B3**********', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"65BDA532-28AF-4122-AA39-B3**********\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 65BDA532-28AF-4122-AA39-B3**********\\n","errorExample":""}]', 'title' => 'DeleteDBInstance', 'description' => '* Subscription instances cannot be manually released. They are automatically released when they expire.'."\n" .'* You can call this operation to release pay-as-you-go instances only when they are in the **Running** state.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDBInstance'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteDBInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DeleteDBInstanceIPArray' => [ 'summary' => 'Deletes an IP whitelist group from an instance.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '237282', 'abilityTreeNodes' => ['FEATUREgpdbY61DIR'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'IPArrayName', 'in' => 'query', 'schema' => ['description' => 'The name of the IP whitelist group.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testarray', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of response.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'title' => 'DeleteDBInstanceIPArray', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteDBInstanceIPArray', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'manual', ], 'DeleteDBInstancePlan' => [ 'summary' => 'Deletes a plan from an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdb0DT1KA'], ], 'parameters' => [ [ 'name' => 'PlanId', 'in' => 'query', 'schema' => ['description' => 'The ID of the plan.'."\n" ."\n" .'> You can call the [DescribeDBInstancePlans](~~449398~~) operation to query the details of plans, including plan IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => '1234', 'pattern' => '^\\d+$', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The state of the operation.'."\n" ."\n" .'If the operation is successful, **success** is returned. If the operation fails, this parameter is not returned.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'ErrorMessage' => ['description' => 'The error message returned.'."\n" ."\n" .'This parameter is returned only when the operation fails.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], 'PlanId' => ['description' => 'The ID of the plan.'."\n", 'type' => 'string', 'example' => '1234', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '34b32a0a-08ef-4a87-b6be-cdd988888888', 'title' => ''], 'DBInstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"success\\",\\n \\"ErrorMessage\\": \\"****\\",\\n \\"PlanId\\": \\"1234\\",\\n \\"RequestId\\": \\"34b32a0a-08ef-4a87-b6be-cdd988888888\\",\\n \\"DBInstanceId\\": \\"gp-bp12ga6v69h86****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n success\\n 1234\\n 34b32a0a-08ef-4a87-b6be-cdd988888888\\n gp-bp12ga6v69h86****\\n","errorExample":""}]', 'title' => 'DeleteDBInstancePlan', 'changeSet' => [ ['createdAt' => '2022-08-25T13:00:47.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteDBInstancePlan'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DeleteDBInstancePlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'description' => '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.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', ], 'DeleteDBResourceGroup' => [ 'summary' => 'Deletes a resource group.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '198026', 'abilityTreeNodes' => ['FEATUREgpdbGDXMO2'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~196830~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'ResourceGroupName', 'in' => 'query', 'schema' => ['description' => 'The name of the resource group.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testgroup', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'title' => 'DeleteDBResourceGroup', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDBResourceGroup'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteDBResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DeleteDatabase' => [ 'summary' => 'Deletes a database from an instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '8417', 'abilityTreeNodes' => ['FEATUREgpdbQ0N7UN'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances in the specified region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'DatabaseName', 'in' => 'query', 'schema' => ['description' => 'The name of the queried database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test01', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => '07F6177E-6DE4-408A-BB4F-0723301340F3', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"07F6177E-6DE4-408A-BB4F-0723301340F3\\"\\n}","type":"json"}]', 'title' => 'DeleteDatabase', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteDatabase', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'manual', ], 'DeleteDocument' => [ 'summary' => 'Delete Document', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) API to view details of all AnalyticDB PostgreSQL instances in the target region, including the instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace. Default value: public.'."\n" ."\n" .'> You can call the [CreateNamespace](~~2401495~~) operation to create a namespace and call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'Document collection name.'."\n" ."\n\n" .'> Created by the [CreateDocumentCollection](~~2618448~~) API. You can use the [ListDocumentCollections](~~2618452~~) API to view the list of created document collections.', 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID where the instance is located.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'Password for the namespace.'."\n" ."\n" .'> This value is specified in the [CreateNamespace](~~2401495~~) API.', 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'FileName', 'in' => 'query', 'schema' => ['description' => 'File name.'."\n" ."\n" .'> The name of an uploaded file. You can query the list of files using the [ListDocuments](~~2618453~~) API.', 'type' => 'string', 'required' => true, 'example' => 'music.txt', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'Detailed information returned by the API.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'Creation status, value description: - **success**: Success - **fail**: Fail', 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'DeleteDocument', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDocument'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DeleteDocument', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'DeleteDocumentCollection' => [ 'summary' => 'Delete Knowledge Base', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) API to view details of all AnalyticDB PostgreSQL instances in the target region, including the instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace. Default value: public.'."\n" ."\n" .'> You can call the [CreateNamespace](~~2401495~~) operation to create a namespace and call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the document collection to be deleted.', 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The ID of the region where the instance is located.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'Password for the namespace.'."\n" ."\n" .'> This value is specified by the [CreateNamespace](~~2401495~~) API.', 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'Return message.', 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Status' => ['description' => 'Status, with the following possible values:'."\n" .'- **success**: Success.'."\n" .'- **fail**: Failure.', 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"Successful\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'DeleteDocumentCollection', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDocumentCollection'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DeleteDocumentCollection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'DeleteExtension' => [ 'summary' => 'Uninstalls extensions.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '214908', 'abilityTreeNodes' => ['FEATUREgpdbQ0N7UN'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a specific region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Extension', 'in' => 'query', 'schema' => ['description' => 'The name of the extension.'."\n", 'type' => 'string', 'required' => true, 'example' => 'citext', 'title' => ''], ], [ 'name' => 'DBNames', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'title' => 'DeleteExtension', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteExtension'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteExtension', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DeleteExternalDataService' => [ 'summary' => 'Delete External Data Service', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbGXMEN1'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) API to view available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ServiceId', 'in' => 'query', 'schema' => ['description' => 'Service ID.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","type":"json"}]', 'title' => 'Delete External Data Service', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteExternalDataService'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteExternalDataService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'DeleteHadoopDataSource' => [ 'summary' => 'Delete a Hadoop external data source.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbYL5VZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> You can invoke the [DescribeRegions](~~86912~~) API to view available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxx', 'title' => ''], ], [ 'name' => 'DataSourceId', 'in' => 'query', 'schema' => ['description' => 'The service ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '123', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","type":"json"}]', 'title' => 'Delete a Hadoop external data source', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteHadoopDataSource'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteHadoopDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'DeleteIndex' => [ 'summary' => 'Deletes an index.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbIPPRRA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the cluster.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the available region list.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => [ 'description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. This parameter and DBInstanceId cannot both be empty. If both parameters are specified, this value takes precedence.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* ip'."\n" .'* l2'."\n" .'* cosine'."\n", 'type' => 'string', 'required' => false, 'enumValueTitles' => [], 'example' => 'gp-ws-*****', 'enum' => ['ip', 'l2', 'cosine'], 'title' => '', ], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The namespace name.'."\n" ."\n" .'> You can call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => true, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password of the namespace.'."\n" ."\n" .'> The value of this parameter is specified when you call the [CreateNamespace](~~2401495~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the collection.'."\n" ."\n" .'> You can call the [ListCollections](~~2401503~~) operation to query a list of collections.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testcollection', 'title' => ''], ], [ 'name' => 'IndexName', 'in' => 'query', 'schema' => ['description' => 'The name of the Elasticsearch index.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testindex', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **fail**'."\n" .'* **success**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'DeleteIndex', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteIndex', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], ], 'DeleteJDBCDataSource' => [ 'summary' => 'Delete JDBC data source', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbYL5VZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) interface to view available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxx', 'title' => ''], ], [ 'name' => 'DataSourceId', 'in' => 'query', 'schema' => ['description' => 'Data source ID.', 'type' => 'string', 'required' => true, 'example' => '123', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","type":"json"}]', 'title' => 'Delete JDBC Data Source Configuration', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteJDBCDataSource'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteJDBCDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'DeleteModelService' => [ 'summary' => 'Delete Model Service', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'ModelServiceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the model service to be deleted.'."\n", 'type' => 'string', 'required' => true, 'example' => 'mx-xxxxxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'title' => 'DeleteModelService', 'description' => 'Deletes a model service.'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteModelService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DeleteNamespace' => [ 'summary' => 'Deletes a namespace.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182771', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-bp152460513z7****', 'title' => ''], ], [ 'name' => 'ManagerAccount', 'in' => 'query', 'schema' => ['description' => 'The name of the manager account that has the rds_superuser permission.'."\n" ."\n" .'> You can create an account on the Account Management page of the AnalyticDB for PostgreSQL console or by calling the [CreateAccount](~~2361789~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testaccount', 'title' => ''], ], [ 'name' => 'ManagerAccountPassword', 'in' => 'query', 'schema' => ['description' => 'The password of the manager account.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.'."\n" ."\n" .'> You can call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => true, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. You must specify one of the WorkspaceId and DBInstanceId parameters. If you specify both parameters, the WorkspaceId parameter takes effect.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'DeleteNamespace', 'changeSet' => [ ['createdAt' => '2024-08-04T13:55:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-11-07T11:35:35.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNamespace'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DeleteNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'conditional', 'product' => 'GPDB', 'resourceType' => 'Namespace', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:namespace/{#DBInstanceId}'], ], ], ], ], ], 'DeletePrivateRAGService' => [ 'summary' => 'Deletes a private RAG service.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'DeletePrivateRAGService', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:DeletePrivateRAGService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'translator' => 'manual', ], 'DeleteRemoteADBDataSource' => [ 'summary' => 'Deletes a remote AnalyticDB data source.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbU7YAV1'], ], 'parameters' => [ [ 'name' => 'LocalDBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance that uses the data provided by another instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-test', 'title' => ''], ], [ 'name' => 'DataSourceId', 'in' => 'query', 'schema' => ['description' => 'The service ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'e9d60eb1-e90d-4bc6-a470-c8b767460858', 'title' => ''], 'TaskId' => ['description' => 'The job ID.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '90000', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"e9d60eb1-e90d-4bc6-a470-c8b767460858\\",\\n \\"TaskId\\": 90000\\n}","type":"json"}]', 'title' => 'DeleteRemoteADBDataSource', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRemoteADBDataSource'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteRemoteADBDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DeleteSaasService' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ServiceId', 'in' => 'query', 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'agdb-xxxxx', 'title' => ''], 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521'], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Delete a saaS service', 'summary' => 'Deletes a SaaS service.', 'description' => 'Deletes a SaaS service.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteSaasService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ServiceId\\": \\"agdb-xxxxx\\",\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'DeleteSecret' => [ 'summary' => 'Deletes the access credentials of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '225490', 'abilityTreeNodes' => ['FEATUREgpdb95T353'], 'autoTest' => false, 'notSupportAutoTestReason' => '鉴权对象不作为入参,因此鉴权对象不存在情形,无法实现RAM标准错误信息透出,故不支持自动化测试', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID. You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n" ."\n" .'> '."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. You must specify one of the WorkspaceId and DBInstanceId parameters. If you specify both parameters, the WorkspaceId parameter takes effect.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'SecretArn', 'in' => 'query', 'schema' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the access credential for the created Data API account. Format: `acs:gpdb:{{region}}:{{accountId}}:secret/{{secretName}}-{{32 digits random string}`.'."\n" ."\n" .'> You must specify one of the SecretArn and SecretName parameters.'."\n", 'type' => 'string', 'required' => false, 'example' => 'acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ', 'title' => ''], ], [ 'name' => 'SecretName', 'in' => 'query', 'schema' => ['description' => 'The name of the access credential.'."\n" ."\n" .'> You must specify one of the SecretArn and SecretName parameters.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testsecret', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **fail**'."\n" .'* **success**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'SecretArn' => ['description' => 'The ARN of the access credential for the created Data API account. Format: `acs:gpdb:{{region}}:{{accountId}}:secret/{{secretName}}-{{32 digits random string}`.'."\n", 'type' => 'string', 'example' => 'acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"SecretArn\\": \\"acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ\\"\\n}","type":"json"}]', 'title' => 'DeleteSecret', 'changeSet' => [ ['createdAt' => '2025-03-11T17:01:34.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSecret'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteSecret', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DeleteSnapshot' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID. Specifies the region in which to query or perform the operation.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The Supabase project ID.', 'type' => 'string', 'required' => true, 'example' => 'spb-xxxx', 'title' => ''], ], [ 'name' => 'Lsn', 'in' => 'query', 'schema' => ['description' => 'The LSN of the snapshot to delete.', 'type' => 'string', 'required' => true, 'example' => '0/3522648', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Delete a snapshot', 'summary' => 'Deletes a snapshot of a Supabase project.', 'description' => 'Deletes a snapshot from a specified Supabase project by ProjectId and Lsn.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteSnapshot', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'DeleteStreamingDataService' => [ 'summary' => 'Delete a real-time data service.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '198248', 'abilityTreeNodes' => ['FEATUREgpdbGXMEN1', 'FEATUREgpdbO4XFZ3'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ServiceId', 'in' => 'query', 'schema' => ['description' => 'The service ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp10g78o9807yv9h3', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **false**: The operation fails.'."\n" .'* **true**: The operation is successful.'."\n", 'type' => 'boolean', 'example' => 'true'."\n", 'title' => ''], 'ErrorMessage' => ['description' => 'The error message returned if the operation fails.'."\n" ."\n" .'This parameter is returned only when the return value of **Status** is **false**.'."\n", 'type' => 'string', 'example' => 'This external service cannot be deleted because it is still used by other data source.', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"Status\\": true,\\n \\"ErrorMessage\\": \\"This external service cannot be deleted because it is still used by other data source.\\"\\n}","type":"json"}]', 'title' => 'Delete a real-time data service', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteStreamingDataService'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DeleteStreamingDataService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'DeleteStreamingDataSource' => [ 'summary' => 'Delete a real-time data source.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbGXMEN1', 'FEATUREgpdbO4XFZ3'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> You can invoke the [DescribeRegions](~~86912~~) API to view available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp10g78o9807yv9h3', 'title' => ''], ], [ 'name' => 'DataSourceId', 'in' => 'query', 'schema' => ['description' => 'The data source ID.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","type":"json"}]', 'title' => 'Delete Real-time Data Source', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteStreamingDataSource'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteStreamingDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'DeleteStreamingJob' => [ 'summary' => 'Delete a real-time data synchronization task.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbGXMEN1', 'FEATUREgpdbO4XFZ3'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> You can invoke the [DescribeRegions](~~86912~~) API to view available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'JobId', 'in' => 'query', 'schema' => ['description' => 'The job ID.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp10g78o9807yv9h3', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","type":"json"}]', 'title' => 'Delete a real-time data synchronization task', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteStreamingJob'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteStreamingJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'DeleteSupabaseProject' => [ 'summary' => 'Deletes a Supabase project.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The Supabase project ID. You can go to the Supabase page in the AnalyticDB for PostgreSQL console to obtain the workspace ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'sbp-1****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D****\\"\\n}","type":"json"}]', 'title' => 'DeleteSupabaseProject', 'description' => '* You can call this operation to delete a Supabase project.'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteSupabaseProject', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], ], ], 'DeleteVectorIndex' => [ 'summary' => 'Deletes a vector index.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbIPPRRA'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp152460513z****', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the collection.'."\n" ."\n" .'> You can call the [ListCollections](~~2401503~~) operation to query a list of collections.'."\n", 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'ManagerAccount', 'in' => 'query', 'schema' => ['description' => 'The name of the manager account that has the rds_superuser permission.'."\n" ."\n" .'> You can create an account on the **Account Management** page of the AnalyticDB for PostgreSQL console or by calling the [CreateAccount](~~2361789~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testaccount', 'title' => ''], ], [ 'name' => 'ManagerAccountPassword', 'in' => 'query', 'schema' => ['description' => 'The password of the manager account.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace. Default value: public.'."\n" ."\n" .'> You can call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Type', 'in' => 'query', 'schema' => ['description' => 'The vector type. Valid values:'."\n" ."\n" .'* Dense (default)'."\n" .'* Sparse'."\n", 'type' => 'string', 'required' => false, 'example' => 'Dense', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'DeleteVectorIndex', 'changeSet' => [ ['createdAt' => '2025-03-11T17:01:38.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-11-07T11:35:35.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVectorIndex'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DeleteVectorIndex', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], ], 'DeleteWorkspace' => [ 'summary' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'description' => '', 'example' => 'ws-*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'WorkspaceId' => ['type' => 'string', 'description' => '', 'example' => 'ws-*****', 'title' => ''], 'RequestId' => ['type' => 'string', 'title' => '', 'description' => '', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521'], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '', 'description' => '此接口为删除上下文服务工作空间', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteWorkspace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"WorkspaceId\\": \\"ws-*****\\",\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', ], 'DeployPrivateRAGService' => [ 'summary' => 'Deploy a private RAG service.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'ZoneId', 'in' => 'query', 'schema' => ['description' => 'The zone ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the available regions and zones.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou-j', 'title' => ''], ], [ 'name' => 'VSwitchId', 'in' => 'query', 'schema' => ['description' => 'The vSwitch ID.'."\n" ."\n" .'> The zone where the **vSwitch** resides must be the same as the zone that is specified by **ZoneId**.', 'type' => 'string', 'required' => true, 'example' => 'vsw-bp1cpq8mr64paltkb****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'DeployPrivateRAGService', 'description' => '1. 部署私有RAG服务前,请先创建初始账号。'."\n" .'2. 私有RAG服务支持向量接口,调用时请配置CA证书。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:DeployPrivateRAGService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'translator' => 'manual', ], 'DescribeAIService' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" .'> You can call the [DescribeDBInstances](~~196830~~) operation to query the details of all instances in a region, including instance IDs.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Type', 'in' => 'query', 'schema' => ['description' => 'The service type. Currently, only drama is supported.', 'type' => 'string', 'required' => true, 'example' => 'drama', 'title' => ''], ], [ 'name' => 'ServiceId', 'in' => 'query', 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'example' => 'drama-123456', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'drama-123456', 'title' => ''], 'ServiceAccount' => ['description' => 'The service account.', 'type' => 'string', 'example' => 'dramauser', 'title' => ''], 'Status' => ['description' => 'The service status. Valid values:'."\n" .'- deploying: being deployed.'."\n" .'- active: running.', 'type' => 'string', 'example' => 'active', 'title' => ''], 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'dramatest', 'title' => ''], 'PublicWorkbenchUrl' => ['description' => 'The public endpoint of the workbench.', 'type' => 'string', 'example' => '8.8.8.8', 'title' => ''], 'PrivateWorkbenchUrl' => ['description' => 'The internal endpoint of the workbench.', 'type' => 'string', 'example' => '192.168.0.1', 'title' => ''], 'PublicApiDevUrl' => ['description' => 'The public endpoint for API debugging.', 'type' => 'string', 'example' => '8.8.8.8/api-docs', 'title' => ''], 'PrivateApiDevUrl' => ['description' => 'The internal endpoint for API debugging.', 'type' => 'string', 'example' => '192.168.0.1/api-docs'."\n", 'title' => ''], 'SecurityIpList' => ['description' => 'The IP addresses in the IP address whitelist group, separated by commas (,).', 'type' => 'string', 'example' => '127.0.0.1', 'title' => ''], 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2026-03-01T00:00:00Z', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Retrieve AI service details', 'summary' => 'Retrieves the details of an AI service.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:DescribeAIService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"ServiceId\\": \\"drama-123456\\",\\n \\"ServiceAccount\\": \\"dramauser\\",\\n \\"Status\\": \\"active\\",\\n \\"Description\\": \\"dramatest\\",\\n \\"PublicWorkbenchUrl\\": \\"8.8.8.8\\",\\n \\"PrivateWorkbenchUrl\\": \\"192.168.0.1\\",\\n \\"PublicApiDevUrl\\": \\"8.8.8.8/api-docs\\",\\n \\"PrivateApiDevUrl\\": \\"192.168.0.1/api-docs\\\\n\\",\\n \\"SecurityIpList\\": \\"127.0.0.1\\",\\n \\"CreateTime\\": \\"2026-03-01T00:00:00Z\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'DescribeAccounts' => [ 'summary' => 'Queries the information about database accounts for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '8419', 'abilityTreeNodes' => ['FEATUREgpdb2U0VE3'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp***************', 'title' => ''], ], [ 'name' => 'AccountName', 'in' => 'query', 'schema' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testuser', 'title' => ''], ], [ 'name' => 'AccountType', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => [ 'description' => 'The type of the database account that you want to query. Valid values: Super, Normal, and All. Default value: Super. If you set this parameter to Super, the information about the privileged account is returned. If you set this parameter to Normal, the information about all standard accounts is returned. If you set this parameter to All, the information about all database accounts is returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Super', 'default' => 'Super', 'enum' => ['Super', 'Normal', 'All'], 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '7565770E-7C45-462D-BA4A-8A5396F2CAD1', 'title' => ''], 'Accounts' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DBInstanceAccount' => [ 'description' => 'The queried database accounts.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'AccountStatus' => ['description' => 'The state of the account.'."\n" ."\n" .'* **0**: The account is being created.'."\n" .'* **1**: The account is in use.'."\n" .'* **3**: The account is being deleted.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], 'AccountDescription' => ['description' => 'The description of the account.'."\n", 'type' => 'string', 'example' => 'testuser', 'title' => ''], 'DBInstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'gp-bp***************', 'title' => ''], 'AccountName' => ['description' => 'The name of the account.'."\n", 'type' => 'string', 'example' => 'testuser', 'title' => ''], 'AccountType' => ['description' => 'The type of the database account. Valid values: Super and Normal. Super indicates a privileged account and Normal indicates a standard account.'."\n", 'type' => 'string', 'example' => 'Super'."\n", 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7565770E-7C45-462D-BA4A-8A5396F2CAD1\\",\\n \\"Accounts\\": {\\n \\"DBInstanceAccount\\": [\\n {\\n \\"AccountStatus\\": \\"1\\",\\n \\"AccountDescription\\": \\"testuser\\",\\n \\"DBInstanceId\\": \\"gp-bp***************\\",\\n \\"AccountName\\": \\"testuser\\",\\n \\"AccountType\\": \\"Super\\\\n\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 7565770E-7C45-462D-BA4A-8A5396F2CAD1\\n \\n 1\\n testuser\\n gp-bp***************\\n testuser\\n \\n","errorExample":""}]', 'title' => 'DescribeAccounts', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2024-08-20T13:42:18.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2022-08-24T11:48:56.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAccounts'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeAccounts', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'description' => '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.'."\n" ."\n" .'## Limit'."\n" ."\n" .'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.', ], 'DescribeActiveSQLRecords' => [ 'summary' => 'Queries active SQL records.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testdb', 'title' => ''], ], [ 'name' => 'User', 'in' => 'query', 'schema' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testuser', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => false, 'example' => '2021-08-03T09:30Z', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end of the time range to query. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The end time must be later than the start time.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-05-07T07:59Z', 'title' => ''], ], [ 'name' => 'Keyword', 'in' => 'query', 'schema' => ['description' => 'The keyword used to filter queries.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SELECT', 'title' => ''], ], [ 'name' => 'MinDuration', 'in' => 'query', 'schema' => ['description' => 'The minimum amount of time consumed by traces. Unit: milliseconds.'."\n", 'type' => 'string', 'required' => false, 'example' => '300', 'title' => ''], ], [ 'name' => 'MaxDuration', 'in' => 'query', 'schema' => ['description' => 'The maxmum amount of time consumed by traces. Unit: milliseconds.', 'type' => 'string', 'required' => false, 'example' => '600', 'title' => ''], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['description' => 'The field used to sort lock diagnostics records and the sorting order.'."\n" ."\n" .'Default value: `{"Field":"StartTime","Type":"Desc"}`, which indicates that lock diagnostics records are sorted by the start time in descending order. No other values are supported.'."\n", 'type' => 'string', 'required' => false, 'example' => '{"Field":"StartTime","Type":"Desc"}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'DBInstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], 'Queries' => [ 'description' => 'The queried SQL records.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The queried SQL record.'."\n", 'type' => 'object', 'properties' => [ 'PID' => ['description' => 'The progress ID.'."\n", 'type' => 'string', 'example' => '6164', 'title' => ''], 'SessionID' => ['description' => 'The session ID.'."\n", 'type' => 'string', 'example' => '6612', 'title' => ''], 'State' => ['description' => 'The status of the asynchronous request. Valid values:'."\n" ."\n" .'* **running**'."\n" .'* **block**'."\n", 'type' => 'string', 'example' => 'running', 'title' => ''], 'QueryStart' => ['description' => 'The start time of the query.'."\n", 'type' => 'string', 'example' => '2022-05-07T06:59Z', 'title' => ''], 'QueryDuration' => ['description' => 'The execution duration of the query. Unit: seconds.'."\n", 'type' => 'string', 'example' => '60', 'title' => ''], 'Query' => ['description' => 'The SQL statement of the query.'."\n", 'type' => 'string', 'example' => 'Select * from t1,t2 where t1.id=t2.id;', 'title' => ''], 'User' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'example' => 'testuser', 'title' => ''], 'Database' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'xg_analyse', 'title' => ''], 'ClientAddr' => ['description' => 'The IP address of the client.'."\n", 'type' => 'string', 'example' => '0.0.0.0', 'title' => ''], 'SqlTruncated' => ['description' => 'Indicates whether the SQL statement is truncated. Valid values:'."\n" ."\n" .'* true'."\n" .'* false'."\n", 'type' => 'string', 'example' => 'false', 'title' => ''], 'SqlTruncatedThreshold' => ['description' => 'The threshold that is used to truncate the SQL statement.'."\n", 'type' => 'string', 'example' => '1024', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"DBInstanceId\\": \\"gp-bp12ga6v69h86****\\",\\n \\"Queries\\": [\\n {\\n \\"PID\\": \\"6164\\",\\n \\"SessionID\\": \\"6612\\",\\n \\"State\\": \\"running\\",\\n \\"QueryStart\\": \\"2022-05-07T06:59Z\\",\\n \\"QueryDuration\\": \\"60\\",\\n \\"Query\\": \\"Select * from t1,t2 where t1.id=t2.id;\\",\\n \\"User\\": \\"testuser\\",\\n \\"Database\\": \\"xg_analyse\\",\\n \\"ClientAddr\\": \\"0.0.0.0\\",\\n \\"SqlTruncated\\": \\"false\\",\\n \\"SqlTruncatedThreshold\\": \\"1024\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'DescribeActiveSQLRecords', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeActiveSQLRecords'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeActiveSQLRecords', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeAvailableResources' => [ 'summary' => 'Gets the purchasable resources for AnalyticDB for PostgreSQL.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbUY8DE6'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Region', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> Call the [DescribeRegions](~~86912~~) API to query available region IDs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ZoneId', 'in' => 'query', 'schema' => ['description' => 'The availability zone ID.'."\n" ."\n" .'> Call the [DescribeRegions](~~86912~~) API to query available zone IDs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou-h', 'title' => ''], ], [ 'name' => 'ChargeType', 'in' => 'query', 'schema' => ['description' => 'The billing method. Valid values:'."\n" ."\n" .'- **Postpaid**: pay-as-you-go.'."\n" ."\n" .'- **Prepaid**: subscription.', 'type' => 'string', 'required' => false, 'example' => 'PostPaid', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '61DC563C-F8E4-593A-8D27-CE**********', 'title' => ''], 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'Resources' => [ 'description' => 'The available resources.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'SupportedEngines' => [ 'description' => 'Details of the supported engines and instance types.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'SupportedEngineVersion' => ['description' => 'The supported engine version.', 'type' => 'string', 'example' => '6.0', 'title' => ''], 'SupportedInstanceClasses' => [ 'description' => 'The supported instance types.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Description' => ['description' => 'The description of the segment node instance type.', 'type' => 'string', 'example' => 'Single-segment node with 2 cores and 16 GB of memory.', 'title' => ''], 'DisplayClass' => ['description' => 'The display name of the segment node instance type.', 'type' => 'string', 'example' => '2C16G', 'title' => ''], 'InstanceClass' => ['description' => 'The instance type of the segment node.', 'type' => 'string', 'example' => '2C16G', 'title' => ''], 'NodeCount' => [ 'description' => 'Details of the segment nodes.', 'type' => 'object', 'properties' => [ 'Step' => ['description' => 'The step size for adding nodes.'."\n" ."\n" .'For example, if this parameter is set to 4, the number of nodes added must be a multiple of 4 when adding Segment nodes.', 'type' => 'string', 'example' => '4', 'title' => ''], 'MinCount' => ['description' => 'The minimum number of Segment nodes.', 'type' => 'string', 'example' => '4', 'title' => ''], 'MaxCount' => ['description' => 'The maximum number of Segment nodes.', 'type' => 'string', 'example' => '256', 'title' => ''], ], 'title' => '', 'example' => '', ], 'StorageType' => ['description' => 'The storage type. Valid values:'."\n" ."\n" .'- **cloud\\_essd**: ESSD cloud disk.'."\n" ."\n" .'- **cloud\\_efficiency**: Standard cloud disk.'."\n" ."\n" .'- **oss**:OSS.', 'type' => 'string', 'example' => 'cloud_essd', 'title' => ''], 'StorageSize' => [ 'description' => 'The Segment storage capacity.', 'type' => 'object', 'properties' => [ 'Step' => ['description' => 'The Segment storage expansion step size.', 'type' => 'string', 'example' => '50', 'title' => ''], 'MinCount' => ['description' => 'The minimum Segment storage capacity.', 'type' => 'string', 'example' => '50', 'title' => ''], 'MaxCount' => ['description' => 'The maximum Segment storage capacity.', 'type' => 'string', 'example' => '1000', 'title' => ''], ], 'title' => '', 'example' => '', ], 'Category' => ['description' => 'The instance series. Valid values:'."\n" ."\n" .'- **HighAvailability**: High-availability edition.'."\n" ."\n" .'- **Basic**: Basic edition', 'type' => 'string', 'example' => 'HighAvailability', 'title' => ''], ], 'description' => 'Details of the instance type.', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'Mode' => ['description' => 'The instance resource type. Valid values:'."\n" ."\n" .'- **ecs**: Elastic storage mode.'."\n" ."\n" .'- **serverless**: Serverless mode.', 'type' => 'string', 'example' => 'ecs', 'title' => ''], ], 'description' => 'Details of a supported engine and its available instance types.', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-h', 'title' => ''], ], 'description' => 'Details of an available resource.', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"61DC563C-F8E4-593A-8D27-CE**********\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"Resources\\": [\\n {\\n \\"SupportedEngines\\": [\\n {\\n \\"SupportedEngineVersion\\": \\"6.0\\",\\n \\"SupportedInstanceClasses\\": [\\n {\\n \\"Description\\": \\"Single-segment node with 2 cores and 16 GB of memory.\\",\\n \\"DisplayClass\\": \\"2C16G\\",\\n \\"InstanceClass\\": \\"2C16G\\",\\n \\"NodeCount\\": {\\n \\"Step\\": \\"4\\",\\n \\"MinCount\\": \\"4\\",\\n \\"MaxCount\\": \\"256\\"\\n },\\n \\"StorageType\\": \\"cloud_essd\\",\\n \\"StorageSize\\": {\\n \\"Step\\": \\"50\\",\\n \\"MinCount\\": \\"50\\",\\n \\"MaxCount\\": \\"1000\\"\\n },\\n \\"Category\\": \\"HighAvailability\\"\\n }\\n ],\\n \\"Mode\\": \\"ecs\\"\\n }\\n ],\\n \\"ZoneId\\": \\"cn-hangzhou-h\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'DescribeAvailableResources', 'description' => 'Before creating an AnalyticDB for PostgreSQL instance, you can use this operation to query the available instance offerings in a specified availability zone.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2022-12-13T11:47:19.000Z', 'description' => 'Response parameters changed, Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAvailableResources'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeAvailableResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'manual', ], 'DescribeBackupJob' => [ 'summary' => 'Queries the information about a backup job.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '233253', 'abilityTreeNodes' => ['FEATUREgpdbS95BLZ'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'BackupJobId', 'in' => 'query', 'schema' => ['description' => 'The backup job ID.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'BackupJobId' => ['description' => 'The backup job ID.'."\n", 'type' => 'string', 'example' => '123', 'title' => ''], 'BackupId' => ['description' => 'The backup set ID.'."\n" ."\n" .'> You can call the [DescribeDataBackups](~~210093~~) operation to query the IDs of all backup sets in the instance.'."\n", 'type' => 'string', 'example' => '1111111111', 'title' => ''], 'BackupMode' => ['description' => 'The backup mode. Valid values:'."\n" ."\n" .'* **Automated**'."\n" .'* **Manual**'."\n", 'type' => 'string', 'example' => 'Automated', 'title' => ''], 'BackupStatus' => ['description' => 'The backup status. Valid values:'."\n" ."\n" .'* **schedule**'."\n" .'* **check**'."\n" .'* **backup**'."\n" .'* **finish**'."\n", 'type' => 'string', 'example' => 'backup', 'title' => ''], 'Process' => ['description' => 'The progress of the backup job.'."\n", 'type' => 'string', 'example' => '50%', 'title' => ''], 'StartTime' => ['description' => 'The time when the backup job started. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2023-01-03T16:00:00Z', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"BackupJobId\\": \\"123\\",\\n \\"BackupId\\": \\"1111111111\\",\\n \\"BackupMode\\": \\"Automated\\",\\n \\"BackupStatus\\": \\"backup\\",\\n \\"Process\\": \\"50%\\",\\n \\"StartTime\\": \\"2023-01-03T16:00:00Z\\"\\n}","type":"json"}]', 'title' => 'DescribeBackupJob', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeBackupJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeBackupPolicy' => [ 'summary' => 'Queries the backup policy of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get', 'put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbS95BLZ'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gp-bp***************', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'BackupRetentionPeriod' => ['description' => 'The number of days for which data backup files are retained.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '7', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '9E6B3287-A3E2-5A87-B8D8-E9**********', 'title' => ''], 'PreferredBackupPeriod' => ['description' => 'The cycle based on which backups are performed. If more than one day of the week is specified, the days of the week are separated by commas (,). Valid values:'."\n" ."\n" .'* **Monday**'."\n" .'* **Tuesday**'."\n" .'* **Wednesday**'."\n" .'* **Thursday**'."\n" .'* **Friday**'."\n" .'* **Saturday**'."\n" .'* **Sunday**'."\n", 'type' => 'string', 'example' => 'Wednesday,Friday', 'title' => ''], 'PreferredBackupTime' => ['description' => 'The backup time. The time is in the HH:mmZ-HH:mmZ format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '12:00Z-13:00Z', 'title' => ''], 'RecoveryPointPeriod' => ['description' => 'The frequency of the point-in-time backup. Valid values:'."\n" ."\n" .'* **1**: per hour'."\n" .'* **2**: per 2 hours'."\n" .'* **4**: per 4 hours'."\n" .'* **8**: per 8 hours'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], 'EnableRecoveryPoint' => ['description' => 'Indicates whether automatic point-in-time backup is enabled. Valid values:'."\n" ."\n" .'* **true**: Automatic point-in-time backup is enabled.'."\n" .'* **false**: Automatic point-in-time backup is disabled.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"BackupRetentionPeriod\\": 7,\\n \\"RequestId\\": \\"9E6B3287-A3E2-5A87-B8D8-E9**********\\",\\n \\"PreferredBackupPeriod\\": \\"Wednesday,Friday\\",\\n \\"PreferredBackupTime\\": \\"12:00Z-13:00Z\\",\\n \\"RecoveryPointPeriod\\": \\"1\\",\\n \\"EnableRecoveryPoint\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n Wednesday,Friday\\n 9E6B3287-A3E2-5A87-B8D8-E9**********\\n 12:00Z-13:00Z\\n 7\\n true\\n 1\\n","errorExample":""}]', 'title' => 'DescribeBackupPolicy', 'description' => '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~~).'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBackupPolicy'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeBackupPolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeBranch' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID. This parameter is required when you create a primary branch. When you create a child branch, the region of the primary branch is inherited by default.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'BranchId', 'in' => 'query', 'schema' => ['description' => 'The branch ID, which uniquely identifies a Supabase branch.', 'type' => 'string', 'required' => true, 'example' => 'br-xxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D****', 'title' => ''], 'Branch' => [ 'description' => 'The branch information. Each element represents a Supabase branch.', 'type' => 'object', 'properties' => [ 'BranchId' => ['description' => 'The branch ID, which uniquely identifies a Supabase branch.', 'type' => 'string', 'example' => 'br-xxxx', 'title' => ''], 'BranchName' => ['description' => 'The branch name.', 'type' => 'string', 'example' => 'dev', 'title' => ''], 'IsDefault' => ['description' => 'Indicates whether the branch is the default branch.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Description' => ['description' => 'The branch description.', 'type' => 'string', 'example' => 'test branch', 'title' => ''], 'ParentBranchName' => ['description' => 'The parent branch name. This value is empty or displayed as - for the primary branch.', 'type' => 'string', 'example' => 'main', 'title' => ''], 'ParentBranchId' => ['description' => 'The parent branch ID, which specifies the parent branch for a new branch or a query condition.', 'type' => 'string', 'example' => 'br-main', 'title' => ''], 'ServiceType' => ['description' => 'The service type.'."\n" ."\n" .'Valid values:'."\n" .'- Supabase: Supabase service.'."\n" .'- Memory: Memory service.', 'type' => 'string', 'example' => 'Supabase', 'title' => ''], 'ProjectId' => ['description' => 'The Supabase project ID associated with the primary branch.', 'type' => 'string', 'example' => 'spb-xxxx', 'title' => ''], 'CreateTime' => ['description' => 'The time when the branch was created, in ISO 8601 UTC format.', 'type' => 'string', 'example' => '2026-04-08T09:11:12Z', 'title' => ''], 'Status' => ['description' => 'The branch status.', 'type' => 'string', 'example' => 'Running', 'title' => ''], 'Tags' => [ 'description' => 'The branch tag list.', 'type' => 'array', 'items' => [ 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'env', 'title' => ''], 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'dev', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'ExpiresAt' => ['description' => 'The time when the branch automatically expires and is deleted, in ISO 8601 UTC format.', 'type' => 'string', 'example' => '2026-10-08T09:11:12Z', 'title' => ''], 'InitSource' => ['description' => 'The initialization source of the branch.'."\n" ."\n" .'Valid values:'."\n" .'- ParentData: Copies the schema and data from the parent branch. This is the default value.'."\n" .'- SchemaOnly: Copies only the schema structure.', 'type' => 'string', 'example' => 'ParentData', 'title' => ''], 'Protected' => ['description' => 'Indicates whether branch protection is enabled. A value of true indicates that branch protection is enabled. A value of false indicates that branch protection is disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], 'ParentTimestamp' => ['description' => 'The data synchronization point in time selected from the parent branch when this branch was created, in ISO 8601 UTC format.'."\n" ."\n" .'Note:'."\n" .'- For child branches, this value indicates the point in time of the parent branch selected during creation.'."\n" .'- If no parent branch exists, the value 1970-01-01T00:00:00.000Z is returned.', 'type' => 'string', 'example' => '2026-04-08T09:11:12Z', 'title' => ''], 'ParentLSN' => ['description' => 'The LSN of the parent branch at the time this branch was created.', 'type' => 'string', 'example' => '0/3522648', 'title' => ''], 'ComputeEndpoint' => ['description' => 'The connection information of the compute node associated with the branch.', 'type' => 'string', 'example' => 'postgresql://user:password@host:5432/db', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Query branch details', 'summary' => 'Queries the details of a Supabase branch.', 'description' => 'Queries the detailed information of a specified Supabase branch, including basic branch attributes, parent branch information, protection status, and connection information.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeBranch', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Branch', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:branch/{#BranchId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D****\\",\\n \\"Branch\\": {\\n \\"BranchId\\": \\"br-xxxx\\",\\n \\"BranchName\\": \\"dev\\",\\n \\"IsDefault\\": true,\\n \\"Description\\": \\"test branch\\",\\n \\"ParentBranchName\\": \\"main\\",\\n \\"ParentBranchId\\": \\"br-main\\",\\n \\"ServiceType\\": \\"Supabase\\",\\n \\"ProjectId\\": \\"spb-xxxx\\",\\n \\"CreateTime\\": \\"2026-04-08T09:11:12Z\\",\\n \\"Status\\": \\"Running\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"env\\",\\n \\"Value\\": \\"dev\\"\\n }\\n ],\\n \\"ExpiresAt\\": \\"2026-10-08T09:11:12Z\\",\\n \\"InitSource\\": \\"ParentData\\",\\n \\"Protected\\": false,\\n \\"ParentTimestamp\\": \\"2026-04-08T09:11:12Z\\",\\n \\"ParentLSN\\": \\"0/3522648\\",\\n \\"ComputeEndpoint\\": \\"postgresql://user:password@host:5432/db\\"\\n }\\n}","type":"json"}]', 'translator' => 'machine', ], 'DescribeCollection' => [ 'summary' => 'Queries the information about a vector collection.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182822', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-bp152460513z****', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.'."\n" ."\n" .'> You can call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password of the namespace.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the collection.'."\n" ."\n" .'> You can call the [ListCollections](~~2401503~~) operation to query a list of collections.'."\n", 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. You must specify one of the WorkspaceId and DBInstanceId parameters. If you specify both parameters, the WorkspaceId parameter takes effect.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Dimension' => ['description' => 'The number of vector dimensions.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1024', 'title' => ''], 'FullTextRetrievalFields' => ['description' => 'The fields that are used for full-text search. Multiple fields are separated by commas (,).'."\n", 'type' => 'string', 'example' => 'title,content', 'title' => ''], 'Metadata' => [ 'description' => 'The metadata of vector data, which is a JSON string in the MAP format. The key specifies the field name, and the value specifies the data type.'."\n" ."\n" .'**'."\n" ."\n" .'**Warning** Reserved fields such as id, vector, and to_tsvector cannot be used.'."\n", 'type' => 'object', 'additionalProperties' => ['type' => 'string', 'description' => 'The metadata.'."\n", 'example' => '{"title":"text","content":"text"}', 'title' => ''], 'title' => '', 'example' => '', ], 'Metrics' => ['description' => 'The distance metrics.'."\n", 'type' => 'string', 'example' => 'cosine', 'title' => ''], 'Parser' => ['description' => 'The analyzer that is used for full-text search.'."\n", 'type' => 'string', 'example' => 'zh_cn', 'title' => ''], 'DBInstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'gp-bp152460513z****', 'title' => ''], 'RegionId' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'Namespace' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'example' => 'mynamespace', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'SupportSparse' => ['description' => 'Indicates whether sparse vectors are supported.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'SparseVectorMetrics' => ['description' => 'The method that is used to create sparse vector indexes.'."\n", 'type' => 'string', 'example' => 'ip', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Dimension\\": 1024,\\n \\"FullTextRetrievalFields\\": \\"title,content\\",\\n \\"Metadata\\": {\\n \\"key\\": \\"{\\\\\\"title\\\\\\":\\\\\\"text\\\\\\",\\\\\\"content\\\\\\":\\\\\\"text\\\\\\"}\\"\\n },\\n \\"Metrics\\": \\"cosine\\",\\n \\"Parser\\": \\"zh_cn\\",\\n \\"DBInstanceId\\": \\"gp-bp152460513z****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"Namespace\\": \\"mynamespace\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"SupportSparse\\": true,\\n \\"SparseVectorMetrics\\": \\"ip\\"\\n}","type":"json"}]', 'title' => 'DescribeCollection', 'changeSet' => [ ['createdAt' => '2025-03-11T17:01:38.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2024-08-04T13:55:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-11-07T11:35:36.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCollection'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DescribeCollection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], ], 'DescribeCreateIndexJob' => [ 'summary' => 'Queries the information about an index creation job.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbIPPRRA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the cluster.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the available region list.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => [ 'description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. You must specify one of the WorkspaceId and DBInstanceId parameters. If you specify both parameters, the WorkspaceId parameter takes precedence.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* ip'."\n" .'* l2'."\n" .'* cosine'."\n", 'type' => 'string', 'required' => false, 'enumValueTitles' => [], 'example' => 'gp-ws-*****', 'enum' => ['ip', 'l2', 'cosine'], 'title' => '', ], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The namespace name.'."\n" ."\n" .'> You can call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => true, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password for the namespace.'."\n" ."\n" .'> The value of this parameter is specified by the [CreateNamespace](~~2401495~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the collection.'."\n" ."\n" .'> You can call the [ListCollections](~~2401503~~) operation to query a list of collections.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testcollection'."\n", 'title' => ''], ], [ 'name' => 'JobId', 'in' => 'query', 'schema' => ['description' => 'The ID of the index creation job, which is returned from the `CreateIndex` operation.'."\n", 'type' => 'string', 'required' => true, 'example' => '231460f8-75dc-405e-a669-0c5204887e91', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **success**.'."\n" .'* **fail**.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Job' => [ 'description' => 'The details of the index creation job.'."\n", 'type' => 'object', 'properties' => [ 'Id' => ['description' => 'The job ID.'."\n", 'type' => 'string', 'example' => '231460f8-75dc-405e-a669-0c5204887e91', 'title' => ''], 'Completed' => ['description' => 'Indicates whether the operation is complete.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], 'CreateTime' => ['description' => 'The job creation time.'."\n", 'type' => 'string', 'example' => '2024-01-08 16:52:04.864664', 'title' => ''], 'UpdateTime' => ['description' => 'The job last updated time.'."\n", 'type' => 'string', 'example' => '2024-01-08 16:53:04.864664', 'title' => ''], 'Status' => ['description' => 'The status of the job. Valid values:'."\n" ."\n" .'* **Success.**'."\n" .'* **Failed** (See the Error parameter for failure reasons).'."\n" .'* **Cancelled.**'."\n" .'* **Running.'."\n", 'type' => 'string', 'example' => 'Running', 'title' => ''], 'Error' => ['description' => 'The error message that is returned when the current operation is abnormal or fails.'."\n", 'type' => 'string', 'example' => 'Failed to connect database.', 'title' => ''], 'Progress' => ['description' => 'The progress of the index creation job. Unit: %. A value of 100 indicates that the job is complete.'."\n" ."\n" .'> '."\n" ."\n" .'* Only AnalyticDB for PostgreSQL V7.0 supports the Progress parameter.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"Job\\": {\\n \\"Id\\": \\"231460f8-75dc-405e-a669-0c5204887e91\\",\\n \\"Completed\\": false,\\n \\"CreateTime\\": \\"2024-01-08 16:52:04.864664\\",\\n \\"UpdateTime\\": \\"2024-01-08 16:53:04.864664\\",\\n \\"Status\\": \\"Running\\",\\n \\"Error\\": \\"Failed to connect database.\\",\\n \\"Progress\\": 20\\n }\\n}","type":"json"}]', 'title' => 'DescribeCreateIndexJob', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeCreateIndexJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], ], 'DescribeDBClusterNode' => [ 'summary' => 'Queries a list of nodes in an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNOW7XI'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query details about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp***************', 'title' => ''], ], [ 'name' => 'NodeType', 'in' => 'query', 'schema' => ['description' => 'The node type. Valid values:'."\n" ."\n" .'* **master**: coordinator node.'."\n" .'* **segment**: compute node.'."\n" ."\n" .'> If you do not specify this parameter, the information about all nodes is returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'master', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Nodes' => [ 'description' => 'The name of the node.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Name' => ['description' => 'The name of the node.'."\n", 'type' => 'string', 'example' => 'master-10*******', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '87E44B48-B306-4AD3-A63B-C8**********', 'title' => ''], 'DBClusterId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'gp-bp***************', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Nodes\\": [\\n {\\n \\"Name\\": \\"master-10*******\\"\\n }\\n ],\\n \\"RequestId\\": \\"87E44B48-B306-4AD3-A63B-C8**********\\",\\n \\"DBClusterId\\": \\"gp-bp***************\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 87E44B48-B306-4AD3-A63B-C8**********\\n gp-bp***************\\n \\n master-10*******\\n \\n","errorExample":""}]', 'title' => 'DescribeDBClusterNode', 'description' => '##'."\n" ."\n" .'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.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBClusterNode'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBClusterNode', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeDBClusterPerformance' => [ 'summary' => 'View the Performance Monitoring of an AnalyticDB for PostgreSQL instance over a specified time period. ', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '8420', 'abilityTreeNodes' => ['FEATUREgpdbNOW7XI'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query details about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'Key', 'in' => 'query', 'schema' => ['description' => 'The performance metric that you want to query. Separate multiple values with commas (,). For more information, see [Performance parameters](~~86943~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'adbpg_conn_count', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the `YYYY-MM-DDTHH:mmZ` format.'."\n" ."\n" .'> You can query monitoring information only within the last 30 days.'."\n", 'type' => 'string', 'required' => true, 'example' => '2021-11-03T15:00Z', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end of the time range to query. Specify the time in the ISO 8601 standard in the `YYYY-MM-DDTHH:mmZ` format.'."\n" ."\n" .'> The end time must be later than the start time. The maximum time range that can be specified is seven days.'."\n", 'type' => 'string', 'required' => true, 'example' => '2021-11-03T15:10Z', 'title' => ''], ], [ 'name' => 'Nodes', 'in' => 'query', 'schema' => ['description' => 'The nodes for which you want to query performance metrics. Separate multiple values with commas (,). Example: `master-10******1,master-10******2`. You can call the [DescribeDBClusterNode](~~390136~~) operation to query the names of nodes.'."\n" ."\n" .'You can also filter the nodes based on their metric values. Valid values:'."\n" ."\n" .'* **top10**: the 10 nodes that have the highest metric values.'."\n" .'* **top20**: the 20 nodes that have the highest metric values.'."\n" .'* **bottom10**: the 10 nodes that have the lowest metric values.'."\n" .'* **bottom20**: the 20 nodes that have the lowest metric values.'."\n", 'type' => 'string', 'required' => false, 'example' => 'top10', 'title' => ''], ], [ 'name' => 'NodeType', 'in' => 'query', 'schema' => ['description' => 'The node type. Valid values:'."\n" ."\n" .'* **master**: coordinator node.'."\n" .'* **segment**: compute node.'."\n" ."\n" .'> If you do not specify this parameter, the performance metrics of all nodes are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'master', 'title' => ''], ], [ 'name' => 'ResourceGroupName', 'in' => 'query', 'schema' => ['description' => 'The name of the resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testgroup', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'PerformanceKeys' => [ 'description' => 'The name of the performance metric. For more information, see [Performance parameters](~~86943~~).'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Unit' => ['description' => 'The unit of the performance metric.'."\n", 'type' => 'string', 'example' => '%', 'title' => ''], 'Series' => [ 'description' => 'Details of the performance metric of a node.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Values' => [ 'description' => 'The value of the performance metric collected at a point in time.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Point' => [ 'description' => 'The value of the performance metric and the time when the metric value was collected.'."\n", 'type' => 'array', 'items' => ['description' => 'Specific Performance Monitoring information, consisting of time and performance parameter value. ', 'type' => 'string', 'example' => '["2021-11-03T15:00:00+08:00","5.84"]', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'Role' => ['description' => 'The role of the node. Valid values:'."\n" ."\n" .'* **master**: primary coordinator node'."\n" .'* **standby**: standby coordinator node'."\n" .'* **segment**: compute node'."\n", 'type' => 'string', 'example' => 'standby', 'title' => ''], 'Name' => ['description' => 'The name of the compute node or compute group.'."\n", 'type' => 'string', 'example' => 'standby-********-cpu', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'Name' => ['description' => 'The name of the performance metric. For more information, see [Performance parameters](~~86943~~).'."\n", 'type' => 'string', 'example' => 'adbpg_group_cpu_used_percent', 'title' => ''], ], 'description' => 'The value of the performance metric and the time when the metric value was collected.'."\n", 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'EndTime' => ['description' => 'The end time of the query. The time follows the ISO 8601 standard in the `YYYY-MM-DDTHH:mmZ` format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2021-11-03T15:10Z', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '8E8990F0-C81E-4C94-8F51-5F**********', 'title' => ''], 'StartTime' => ['description' => 'The start time of the query. The time follows the ISO 8601 standard in the `YYYY-MM-DDTHH:mmZ` format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2021-11-03T15:00Z', 'title' => ''], 'DBClusterId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PerformanceKeys\\": [\\n {\\n \\"Unit\\": \\"%\\",\\n \\"Series\\": [\\n {\\n \\"Values\\": [\\n {\\n \\"Point\\": [\\n \\"[\\\\\\"2021-11-03T15:00:00+08:00\\\\\\",\\\\\\"5.84\\\\\\"]\\"\\n ]\\n }\\n ],\\n \\"Role\\": \\"standby\\",\\n \\"Name\\": \\"standby-********-cpu\\"\\n }\\n ],\\n \\"Name\\": \\"adbpg_group_cpu_used_percent\\"\\n }\\n ],\\n \\"EndTime\\": \\"2021-11-03T15:10Z\\",\\n \\"RequestId\\": \\"8E8990F0-C81E-4C94-8F51-5F**********\\",\\n \\"StartTime\\": \\"2021-11-03T15:00Z\\",\\n \\"DBClusterId\\": \\"gp-bp12ga6v69h86****\\"\\n}","type":"json"}]', 'title' => 'View instance Performance Data', 'description' => 'Monitoring information can only be queried for the last 30 days. ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2023-12-11T12:31:07.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBClusterPerformance'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBClusterPerformance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'DescribeDBInstanceAttribute' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '8421', 'abilityTreeNodes' => ['FEATUREgpdbUY8DE6'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'This parameter is deprecated. You do not need to specify this parameter.', 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the instance IDs of all AnalyticDB for PostgreSQL instances in a region.', 'type' => 'string', 'required' => true, 'example' => 'gp-bp13ue79qk8y1****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Items' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DBInstanceAttribute' => [ 'description' => 'The list of instance details.', 'type' => 'array', 'items' => [ 'description' => 'The details.', 'type' => 'object', 'properties' => [ 'AvailabilityValue' => ['description' => 'The availability status of the instance. Unit: percentage (%).'."\n" ."\n" .'> This parameter is applicable only to instances in storage reservation mode.', 'type' => 'string', 'example' => '100.0%', 'title' => ''], 'ConnectionMode' => ['description' => 'The access mode. Valid values:'."\n" ."\n" .'- **Performance**: standard access mode.'."\n" .'- **Safty**: high-security access mode.'."\n" .'- **LVS**: LVS link mode.', 'type' => 'string', 'example' => 'LVS', 'title' => ''], 'ConnectionString' => ['description' => 'The endpoint of the instance.', 'type' => 'string', 'example' => 'gp-bp13ue79qk8y1****-master.gpdb.rds.aliyuncs.com', 'title' => ''], 'CoreVersion' => ['description' => 'The minor version of the kernel.', 'type' => 'string', 'example' => 'mm.v6.3.10.1-202207141918', 'title' => ''], 'CpuCores' => ['description' => 'The number of CPU cores per compute node. Unit: cores.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'CpuCoresPerNode' => ['description' => 'The number of CPU cores per node.'."\n" ."\n" .'> This parameter is applicable only to instances in storage reservation mode.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], 'CreationTime' => ['description' => 'The time when the instance was created.', 'type' => 'string', 'example' => '2022-08-11T09:16:26Z', 'title' => ''], 'DBInstanceCategory' => ['description' => 'The instance edition. Valid values:'."\n" ."\n" .'- **Basic**: Basic Edition.'."\n" .'- **HighAvailability**: High-availability Edition.', 'type' => 'string', 'example' => 'HighAvailability', 'title' => ''], 'DBInstanceClass' => ['description' => 'The instance specifications.'."\n" ."\n" .'> This parameter is applicable only to instances in storage reservation mode.', 'type' => 'string', 'example' => 'gpdb.group.segsdx1', 'title' => ''], 'DBInstanceClassType' => ['description' => 'The instance family. Valid values:'."\n" ."\n" .'- **s**: shared.'."\n" .'- **x**: general-purpose.'."\n" .'- **d**: dedicated.'."\n" .'- **h**: dedicated host.', 'type' => 'string', 'example' => 'x', 'title' => ''], 'DBInstanceCpuCores' => ['description' => 'The number of CPU cores.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'DBInstanceDescription' => ['description' => 'The description of the instance.', 'type' => 'string', 'example' => 'gp-bp13ue79qk8y1****', 'title' => ''], 'DBInstanceDiskMBPS' => ['description' => 'The maximum disk throughput of the compute group. Unit: Mbit/s.'."\n" ."\n" .'> This parameter is applicable only to instances in storage reservation mode.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], 'DBInstanceGroupCount' => ['description' => 'The number of compute groups.'."\n" ."\n" .'> This parameter is applicable only to instances in storage reservation mode.', 'type' => 'string', 'example' => '0', 'title' => ''], 'DBInstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'gp-bp13ue79qk8y1****', 'title' => ''], 'DBInstanceMemory' => ['description' => 'The memory size of the compute node.'."\n" ."\n" .'> The unit is MB for instances in storage reservation mode and GB for instances in Serverless mode or storage elastic mode.', 'type' => 'integer', 'format' => 'int64', 'example' => '16', 'title' => ''], 'DBInstanceMode' => ['description' => 'The resource type of the instance. Valid values:'."\n" ."\n" .'- **Serverless**: Serverless mode.'."\n" .'- **StorageElastic**: storage elastic mode.'."\n" .'- **Classic**: storage reservation mode.', 'type' => 'string', 'example' => 'StorageElastic', 'title' => ''], 'DBInstanceNetType' => ['description' => 'This parameter is deprecated and no value is returned.', 'type' => 'string', 'example' => 'null', 'title' => ''], 'DBInstanceStatus' => ['description' => 'The instance status. For more information, see the supplementary description of the DBInstanceStatus parameter.', 'type' => 'string', 'example' => 'Running', 'title' => ''], 'DBInstanceStorage' => ['description' => 'The maximum storage capacity per replica. Unit: GB.', 'type' => 'integer', 'format' => 'int64', 'example' => '50', 'title' => ''], 'DeployMode' => ['description' => 'The deployment mode.', 'type' => 'string', 'example' => 'single', 'title' => ''], 'EncryptionKey' => ['description' => 'The encryption key.'."\n" ."\n" .'> This parameter is returned only for instances with cloud disk encryption enabled.', 'type' => 'string', 'example' => '0d2470df-da7b-4786-b981-************', 'title' => ''], 'EncryptionType' => ['description' => 'The encryption type. Valid values:'."\n" ."\n" .'- **CloudDisk**: cloud disk encryption.'."\n" ."\n" .'> This parameter is returned only for instances with cloud disk encryption enabled.', 'type' => 'string', 'example' => 'CloudDisk', 'title' => ''], 'Engine' => ['description' => 'The database engine.', 'type' => 'string', 'example' => 'gpdb', 'title' => ''], 'EngineVersion' => ['description' => 'The database engine version.', 'type' => 'string', 'example' => '6.0', 'title' => ''], 'ExpireTime' => ['description' => 'The time when the instance expires (UTC).'."\n" ."\n" .'> The expiration time of a pay-as-you-go instance is `2999-09-08T16:00:00Z`.', 'type' => 'string', 'example' => '2999-09-08T16:00:00Z', 'title' => ''], 'HostType' => ['description' => 'The machine type of the compute group. Valid values:'."\n" .'- **0**: SSD'."\n" .'- **1**: HDD'."\n" ."\n" .'> This parameter is applicable only to instances in storage reservation mode.', 'type' => 'string', 'example' => '0', 'title' => ''], 'IdleTime' => ['description' => 'The wait time before the instance is released when idle. Unit: seconds.'."\n" ."\n" .'> This parameter is returned only for Serverless instances in automatic scheduling mode.', 'type' => 'integer', 'format' => 'int32', 'example' => '600', 'title' => ''], 'InstanceNetworkType' => ['description' => 'The network type of the instance. Valid values:'."\n" ."\n" .'- **Classic**: classic network.'."\n" .'- **VPC**: VPC.', 'type' => 'string', 'example' => 'VPC', 'title' => ''], 'LockMode' => ['description' => 'The lock mode. Valid values:'."\n" ."\n" .'- **Unlock**: unlocked.'."\n" .'- **ManualLock**: manually locked.'."\n" .'- **LockByExpiration**: automatically locked upon instance expiration.'."\n" .'- **LockByRestoration**: automatically locked before instance rollback.'."\n" .'- **LockByDiskQuota**: automatically locked when the storage is full.', 'type' => 'string', 'example' => 'Unlock', 'title' => ''], 'LockReason' => ['description' => 'This parameter is deprecated and no value is returned.', 'type' => 'string', 'example' => 'null', 'title' => ''], 'MaintainEndTime' => ['description' => 'The end time of the maintenance window.', 'type' => 'string', 'example' => '22:00Z', 'title' => ''], 'MaintainStartTime' => ['description' => 'The start time of the maintenance window.', 'type' => 'string', 'example' => '18:00Z', 'title' => ''], 'MasterCU' => ['description' => 'The master resources.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], 'MasterNodeNum' => ['description' => 'The number of master nodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'MaxConnections' => ['description' => 'The maximum number of concurrent connections to the instance.'."\n" ."\n" .'> This parameter is applicable only to instances in storage reservation mode.', 'type' => 'integer', 'format' => 'int32', 'example' => '500', 'title' => ''], 'MemoryPerNode' => ['description' => 'The memory size per replica. For the unit, see the **MemoryUnit** parameter.'."\n" ."\n" .'> This parameter is applicable only to instances in storage reservation mode.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], 'MemorySize' => ['description' => 'The memory size of the compute node.'."\n" ."\n" .'> The unit is MB for instances in storage reservation mode and GB for instances in Serverless mode or storage elastic mode.', 'type' => 'integer', 'format' => 'int64', 'example' => '16', 'title' => ''], 'MemoryUnit' => ['description' => 'The memory unit.'."\n" ."\n" .'> This parameter is applicable only to instances in storage reservation mode.', 'type' => 'string', 'example' => 'GB', 'title' => ''], 'MinorVersion' => ['description' => 'The minor engine version.', 'type' => 'string', 'example' => '6.3.10.1-202207141918', 'title' => ''], 'PayType' => ['description' => 'The billing method. Valid values:'."\n" ."\n" .'- **Postpaid**: pay-as-you-go.'."\n" .'- **Prepaid**: subscription.', 'type' => 'string', 'example' => 'Postpaid', 'title' => ''], 'Port' => ['description' => 'The port number of the instance.', 'type' => 'string', 'example' => '5432', 'title' => ''], 'ProdType' => [ 'description' => 'The product type.', 'type' => 'string', 'enum' => ['standard', 'cost-effective'], 'example' => 'standard', 'title' => '', ], 'ReadDelayTime' => ['description' => 'This parameter is deprecated and no value is returned.', 'type' => 'string', 'example' => 'null', 'title' => ''], 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'ResourceGroupId' => ['description' => 'The ID of the resource group to which the instance belongs.', 'type' => 'string', 'example' => 'rg-bp67acfmxazb4p****', 'title' => ''], 'RunningTime' => ['description' => 'The running duration of the instance.', 'type' => 'string', 'example' => '4 days 22:58:55', 'title' => ''], 'SecurityIPList' => ['description' => 'This parameter is deprecated and no value is returned.', 'type' => 'string', 'example' => 'null', 'title' => ''], 'SegDiskPerformanceLevel' => ['description' => 'The performance level (PL). Only **PL1** is supported.', 'type' => 'string', 'example' => 'PL1', 'title' => ''], 'SegNodeNum' => ['description' => 'The number of segment nodes.'."\n" ."\n" .'> This parameter is applicable only to instances in storage elastic mode or Serverless manual scheduling mode.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], 'SegmentCounts' => ['description' => 'The number of compute groups.'."\n" ."\n" .'> This parameter is applicable only to instances in storage reservation mode.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], 'ServerlessMode' => ['description' => 'The mode of the Serverless instance. Valid values:'."\n" ."\n" .'- **Manual**: manual scheduling.'."\n" .'- **Auto**: automatic scheduling.'."\n" ."\n" .'> - This parameter is returned only for Serverless instances.'."\n" .'> - The automatic scheduling mode for AnalyticDB for PostgreSQL Serverless is in invitational preview. To use this feature, [submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket?spm=openapi-amp.newDocPublishment.0.0.18ce281fyYBKUw&product=rds) to apply for access.', 'type' => 'string', 'example' => 'Auto', 'title' => ''], 'ServerlessResource' => ['description' => 'The compute resource threshold. Unit: ACU.'."\n" ."\n" .'> This parameter is returned only for Serverless instances in automatic scheduling mode.', 'type' => 'integer', 'format' => 'int32', 'example' => '32', 'title' => ''], 'StandbyZoneId' => ['description' => 'The secondary zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-i', 'title' => ''], 'StartTime' => ['description' => 'The time when the instance started running.', 'type' => 'string', 'example' => '2022-08-11T09:26:43Z', 'title' => ''], 'StoragePerNode' => ['description' => 'The storage size per replica. For the unit, see the **StorageUnit** parameter.'."\n" ."\n" .'> This parameter is applicable only to instances in storage reservation mode.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], 'StorageSize' => ['description' => 'The storage size. Unit: GB.', 'type' => 'integer', 'format' => 'int64', 'example' => '50', 'title' => ''], 'StorageType' => ['description' => 'The storage type. Valid values:'."\n" ."\n" .'- **cloud_essd**: Enterprise SSD (ESSD) cloud disk.'."\n" .'- **cloud_efficiency**: ultra cloud disk.'."\n" ."\n" .'> This parameter is applicable only to instances in storage elastic mode.', 'type' => 'string', 'example' => 'cloud_essd', 'title' => ''], 'StorageUnit' => ['description' => 'The storage unit. Valid values:'."\n" ."\n" .'- **GB SSD**'."\n" .'- **TB SSD**'."\n" .'- **GB HDD**'."\n" ."\n" .'> This parameter is applicable only to instances in storage reservation mode.', 'type' => 'string', 'example' => 'GB SSD', 'title' => ''], 'SupportRestore' => ['description' => 'Indicates whether backup and restoration is supported. Valid values:'."\n" ."\n" .'- **true**: Backup and restoration is supported.'."\n" .'- **false**: Backup and restoration is not supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Tags' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Tag' => [ 'description' => 'The tag key-value pairs.', 'type' => 'array', 'items' => [ 'description' => 'The tag details.', 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'test-key', 'title' => ''], 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'test-value', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'VSwitchId' => ['description' => 'vSwitch ID。', 'type' => 'string', 'example' => 'vsw-bp1cpq8mr64paltkb****', 'title' => ''], 'VectorConfigurationStatus' => ['description' => 'Indicates whether vector engine optimization is enabled. Valid values:'."\n" .'- **enabled**: Vector engine optimization is enabled.'."\n" .'- **disabled**: Vector engine optimization is disabled.', 'type' => 'string', 'example' => 'enabled', 'title' => ''], 'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'example' => 'vpc-bp19ame5m1r3oejns****', 'title' => ''], 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-j', 'title' => ''], 'SegmentAISpec' => ['description' => 'The AI node specifications of the compute nodes. If the compute nodes are not AI nodes, an empty value is returned.', 'type' => 'string', 'example' => 'ADB.AIMedium.2', 'title' => ''], 'MasterAISpec' => ['description' => 'The AI node specifications of the master node. If the master node is not an AI node, an empty value is returned.', 'type' => 'string', 'example' => 'ADB.AIMedium.2', 'title' => ''], 'CacheStorageSize' => ['description' => 'The total size of the cache disk. Unit: GB.', 'type' => 'string', 'example' => '64', 'title' => ''], 'InstanceSpec' => ['description' => 'The compute node specifications.', 'type' => 'string', 'example' => '2C16G', 'title' => ''], 'GraphEngineStatus' => ['description' => 'Indicates whether the graph engine is enabled. Valid values:'."\n" .'- **enabled**: The graph engine is enabled.'."\n" .'- **disabled**: The graph engine is disabled.', 'type' => 'string', 'example' => 'enabled', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5E6EDEB8-D73E-5F2D-B948-86C8AEB05A68', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'gatewayOptions' => [ 'gatewayProtocols' => [], ], 'title' => 'Query instance details', 'summary' => 'Queries the details of an AnalyticDB for PostgreSQL instance.', 'description' => '## Operation description'."\n" .'This operation is used to query information about an AnalyticDB for PostgreSQL instance, such as the instance specifications, network type, and instance status.'."\n" ."\n" .'## QPS limit'."\n" .'The default QPS limit for a single user for this operation is 1,000 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation as needed.'."\n" ."\n" .'The QPS limit in this topic is a default reference value. For accurate information, refer to the [API rate limit list](https://quotas.console.aliyun.com/flow-control-products/gpdb/quotas).', 'requestParamsDescription' => ' ', 'responseParamsDescription' => '### Supplementary description of the DBInstanceStatus parameter'."\n" .'Valid values of DBInstanceStatus:'."\n" .'- **Creating**: being created.'."\n" .'- **Running**: running.'."\n" .'- **Deleting**: being deleted.'."\n" .'- **Rebooting**: being restarted.'."\n" .'- **DBInstanceClassChanging**: being upgraded or downgraded.'."\n" .'- **Transfering**: being migrated.'."\n" .'- **EngineVersionUpgrading**: engine version being upgraded.'."\n" .'- **TransferingToOtherInstance**: data being migrated to another AnalyticDB for PostgreSQL instance.'."\n" .'- **GuardDBInstanceCreating**: disaster recovery instance being created.'."\n" .'- **Restoring**: being restored from a backup.'."\n" .'- **Importing**: data import in progress.'."\n" .'- **ImportingFromOtherInstance**: data import from another AnalyticDB for PostgreSQL instance in progress.'."\n" .'- **DBInstanceNetTypeChangin**: network type being changed.'."\n" .'- **GuardSwitching**: disaster recovery switchover in progress.', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2025-09-10T15:09:31.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2025-06-17T13:04:33.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2025-05-29T16:37:12.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2025-02-12T11:57:06.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2024-10-11T13:16:53.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2024-01-04T12:19:53.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2023-08-17T11:47:02.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2023-05-23T15:32:27.000Z', 'description' => 'Response parameters changed, Response parameters changed'], ['createdAt' => '2022-10-28T08:10:38.000Z', 'description' => 'Response parameters changed, Response parameters changed'], ['createdAt' => '2022-06-22T11:57:47.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2021-11-23T13:23:53.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2021-11-23T13:23:53.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2021-11-22T06:57:31.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceAttribute'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceAttribute', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Items\\": {\\n \\"DBInstanceAttribute\\": [\\n {\\n \\"AvailabilityValue\\": \\"100.0%\\",\\n \\"ConnectionMode\\": \\"LVS\\",\\n \\"ConnectionString\\": \\"gp-bp13ue79qk8y1****-master.gpdb.rds.aliyuncs.com\\",\\n \\"CoreVersion\\": \\"mm.v6.3.10.1-202207141918\\",\\n \\"CpuCores\\": 2,\\n \\"CpuCoresPerNode\\": 0,\\n \\"CreationTime\\": \\"2022-08-11T09:16:26Z\\",\\n \\"DBInstanceCategory\\": \\"HighAvailability\\",\\n \\"DBInstanceClass\\": \\"gpdb.group.segsdx1\\",\\n \\"DBInstanceClassType\\": \\"x\\",\\n \\"DBInstanceCpuCores\\": 2,\\n \\"DBInstanceDescription\\": \\"gp-bp13ue79qk8y1****\\",\\n \\"DBInstanceDiskMBPS\\": 0,\\n \\"DBInstanceGroupCount\\": \\"0\\",\\n \\"DBInstanceId\\": \\"gp-bp13ue79qk8y1****\\",\\n \\"DBInstanceMemory\\": 16,\\n \\"DBInstanceMode\\": \\"StorageElastic\\",\\n \\"DBInstanceNetType\\": \\"null\\",\\n \\"DBInstanceStatus\\": \\"Running\\",\\n \\"DBInstanceStorage\\": 50,\\n \\"DeployMode\\": \\"single\\",\\n \\"EncryptionKey\\": \\"0d2470df-da7b-4786-b981-************\\",\\n \\"EncryptionType\\": \\"CloudDisk\\",\\n \\"Engine\\": \\"gpdb\\",\\n \\"EngineVersion\\": \\"6.0\\",\\n \\"ExpireTime\\": \\"2999-09-08T16:00:00Z\\",\\n \\"HostType\\": \\"0\\",\\n \\"IdleTime\\": 600,\\n \\"InstanceNetworkType\\": \\"VPC\\",\\n \\"LockMode\\": \\"Unlock\\",\\n \\"LockReason\\": \\"null\\",\\n \\"MaintainEndTime\\": \\"22:00Z\\",\\n \\"MaintainStartTime\\": \\"18:00Z\\",\\n \\"MasterCU\\": 4,\\n \\"MasterNodeNum\\": 1,\\n \\"MaxConnections\\": 500,\\n \\"MemoryPerNode\\": 0,\\n \\"MemorySize\\": 16,\\n \\"MemoryUnit\\": \\"GB\\",\\n \\"MinorVersion\\": \\"6.3.10.1-202207141918\\",\\n \\"PayType\\": \\"Postpaid\\",\\n \\"Port\\": \\"5432\\",\\n \\"ProdType\\": \\"standard\\",\\n \\"ReadDelayTime\\": \\"null\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceGroupId\\": \\"rg-bp67acfmxazb4p****\\",\\n \\"RunningTime\\": \\"4 days 22:58:55\\",\\n \\"SecurityIPList\\": \\"null\\",\\n \\"SegDiskPerformanceLevel\\": \\"PL1\\",\\n \\"SegNodeNum\\": 4,\\n \\"SegmentCounts\\": 0,\\n \\"ServerlessMode\\": \\"Auto\\",\\n \\"ServerlessResource\\": 32,\\n \\"StandbyZoneId\\": \\"cn-hangzhou-i\\",\\n \\"StartTime\\": \\"2022-08-11T09:26:43Z\\",\\n \\"StoragePerNode\\": 0,\\n \\"StorageSize\\": 50,\\n \\"StorageType\\": \\"cloud_essd\\",\\n \\"StorageUnit\\": \\"GB SSD\\",\\n \\"SupportRestore\\": true,\\n \\"Tags\\": {\\n \\"Tag\\": [\\n {\\n \\"Key\\": \\"test-key\\",\\n \\"Value\\": \\"test-value\\"\\n }\\n ]\\n },\\n \\"VSwitchId\\": \\"vsw-bp1cpq8mr64paltkb****\\",\\n \\"VectorConfigurationStatus\\": \\"enabled\\",\\n \\"VpcId\\": \\"vpc-bp19ame5m1r3oejns****\\",\\n \\"ZoneId\\": \\"cn-hangzhou-j\\",\\n \\"SegmentAISpec\\": \\"ADB.AIMedium.2\\",\\n \\"MasterAISpec\\": \\"ADB.AIMedium.2\\",\\n \\"CacheStorageSize\\": \\"64\\",\\n \\"InstanceSpec\\": \\"2C16G\\",\\n \\"GraphEngineStatus\\": \\"enabled\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"5E6EDEB8-D73E-5F2D-B948-86C8AEB05A68\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'DescribeDBInstanceDataBloat' => [ 'summary' => 'Queries the information about data bloat for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '140259', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return on each page. Valid values:'."\n" ."\n" .'* **30**'."\n" .'* **50**'."\n" .'* **100**'."\n" ."\n" .'Default value: **30**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The number of the page to return. The value must be an integer that is greater than 0. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'OrderBy', 'in' => 'query', 'schema' => ['description' => 'The sorting order.'."\n", 'type' => 'string', 'required' => false, 'example' => '{Field: TableName, Type: Desc}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageNumber' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Items' => [ 'description' => 'The queried data bloat.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Sequence' => ['description' => 'The sequence number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'DatabaseName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'adbtest', 'title' => ''], 'SchemaName' => ['description' => 'The name of the schema.'."\n", 'type' => 'string', 'example' => 'schema1', 'title' => ''], 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'tab1', 'title' => ''], 'StorageType' => ['description' => 'The storage type of the table. Valid values:'."\n" ."\n" .'* **Heap Table**'."\n" .'* **Append-Only Heap Table**'."\n" .'* **Append-Only Columnar Table**'."\n", 'type' => 'string', 'example' => 'Heap Table', 'title' => ''], 'ExpectTableSize' => ['description' => 'The expected size of the table.'."\n" ."\n" .'It indicates the size of the table that has no data bloat.'."\n", 'type' => 'string', 'example' => '1MB', 'title' => ''], 'RealTableSize' => ['description' => 'The actual size of the table.'."\n", 'type' => 'string', 'example' => '1.2MB', 'title' => ''], 'BloatSize' => ['description' => 'The bloat size of the table. It indicates the amount of space that can be released.'."\n", 'type' => 'string', 'example' => '0.2MB', 'title' => ''], 'BloatCeoff' => ['description' => 'The coefficient of data bloat. It is calculated by using the following formula:'."\n" ."\n" .'Bloat coefficient = Number of dead rows/Number of active rows.'."\n", 'type' => 'string', 'example' => '1.03', 'title' => ''], 'SuggestedAction' => ['description' => 'This parameter is not returned.'."\n", 'type' => 'string', 'example' => 'null', 'title' => ''], 'TimeLastVacuumed' => ['description' => 'The time when the table was last vacuumed. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2022-08-08T16:00:00Z', 'title' => ''], 'TimeLastUpdated' => ['description' => 'The time when the table was last deleted, inserted, or updated.'."\n", 'type' => 'string', 'example' => '2022-08-08T20:00:00Z', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"TotalCount\\": 1,\\n \\"PageNumber\\": 1,\\n \\"Items\\": [\\n {\\n \\"Sequence\\": 1,\\n \\"DatabaseName\\": \\"adbtest\\",\\n \\"SchemaName\\": \\"schema1\\",\\n \\"TableName\\": \\"tab1\\",\\n \\"StorageType\\": \\"Heap Table\\",\\n \\"ExpectTableSize\\": \\"1MB\\",\\n \\"RealTableSize\\": \\"1.2MB\\",\\n \\"BloatSize\\": \\"0.2MB\\",\\n \\"BloatCeoff\\": \\"1.03\\",\\n \\"SuggestedAction\\": \\"null\\",\\n \\"TimeLastVacuumed\\": \\"2022-08-08T16:00:00Z\\",\\n \\"TimeLastUpdated\\": \\"2022-08-08T20:00:00Z\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\n 1\\n 1\\n \\n 1\\n adbtest\\n schema1\\n tab1\\n Heap\\n 1MB\\n 1.2MB\\n 0.2MB\\n 1.03\\n 2022-08-08T16:00:00Z\\n 2022-08-08T20:00:00Z\\n \\n","errorExample":""}]', 'title' => 'DescribeDBInstanceDataBloat', 'description' => '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~~).'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', 'changeSet' => [ ['createdAt' => '2024-08-06T13:38:28.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-06-22T11:57:48.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceDataBloat'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceDataBloat', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'DescribeDBInstanceDataSkew' => [ 'summary' => 'Queries the information about data skew for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '140265', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" ."\n" .'* **30**'."\n" .'* **50**'."\n" .'* **100**'."\n" ."\n" .'Default value: **30**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The number of the page to return. The value must be an integer that is greater than 0. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The name of the database.'."\n", 'example' => 'test', 'title' => ''], ], [ 'name' => 'OrderBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'description' => 'order by condition', 'example' => '{Field: TableSize, Type: Desc}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], 'PageNumber' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Items' => [ 'description' => 'Details about data skew.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Sequence' => ['description' => 'The sequence number of the data skew case. All data skew cases are sorted by severity in descending order.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'DatabaseName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'adbtest', 'title' => ''], 'SchemaName' => ['description' => 'The name of the schema.'."\n", 'type' => 'string', 'example' => 'schema1', 'title' => ''], 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'tab1', 'title' => ''], 'Owner' => ['description' => 'The owner of the table.'."\n", 'type' => 'string', 'example' => 'adbpguser', 'title' => ''], 'TableSize' => ['description' => 'The total number of rows in the table.'."\n", 'type' => 'string', 'example' => '100000', 'title' => ''], 'TableSkew' => ['description' => 'The skew ratio of the table. Valid values: 0 to 100. Unit: %. A greater value indicates that the table is more severely skewed. A smaller value indicates less impact on query performance. A value of 0 indicates no data skew.'."\n", 'type' => 'string', 'example' => '10.23', 'title' => ''], 'DistributeKey' => ['description' => 'The distribution key of the table.'."\n", 'type' => 'string', 'example' => 'ItemId', 'title' => ''], 'TimeLastUpdated' => ['description' => 'The time when the table was last deleted, inserted, or updated.'."\n", 'type' => 'string', 'example' => '2020-09-08T20:00:00Z', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"TotalCount\\": 100,\\n \\"PageNumber\\": 1,\\n \\"Items\\": [\\n {\\n \\"Sequence\\": 1,\\n \\"DatabaseName\\": \\"adbtest\\",\\n \\"SchemaName\\": \\"schema1\\",\\n \\"TableName\\": \\"tab1\\",\\n \\"Owner\\": \\"adbpguser\\",\\n \\"TableSize\\": \\"100000\\",\\n \\"TableSkew\\": \\"10.23\\",\\n \\"DistributeKey\\": \\"ItemId\\",\\n \\"TimeLastUpdated\\": \\"2020-09-08T20:00:00Z\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\n 100\\n 1\\n \\n 1\\n adbtest\\n schema1\\n tab1\\n adbpguser\\n 100000\\n 10.23\\n ItemId\\n 2020-09-08T20:00:00Z\\n \\n","errorExample":""}]', 'title' => 'DescribeDBInstanceDataSkew', 'description' => '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.'."\n" ."\n\n" .'## Limits'."\n" ."\n" .'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.', 'changeSet' => [ ['createdAt' => '2024-08-06T13:38:28.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-06-22T11:57:48.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceDataSkew'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceDataSkew', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeDBInstanceDiagnosisSummary' => [ 'summary' => 'Queries the information about nodes in an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query details about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" ."\n" .'* **20**'."\n" .'* **50**'."\n" .'* **100**'."\n" ."\n" .'Default value: **20**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. Pages start from page 1. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'StartStatus', 'in' => 'query', 'schema' => ['description' => 'The running state of the node. Valid values:'."\n" ."\n" .'* **UP**: The node is running.'."\n" .'* **DOWN**: The node is faulty.'."\n" ."\n" .'If you do not specify this parameter, the information about nodes in all running states is returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'UP', 'title' => ''], ], [ 'name' => 'SyncMode', 'in' => 'query', 'schema' => ['description' => 'The data synchronization state of the node. Valid values:'."\n" ."\n" .'* **synced**: The node data is synchronized.'."\n" .'* **notSyncing**: The node data is not synchronized.'."\n" ."\n" .'If you do not specify this parameter, the information about nodes in all synchronization states is returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'synced', 'title' => ''], ], [ 'name' => 'RolePreferd', 'in' => 'query', 'schema' => ['description' => 'The role state of the node. It specifies whether a primary/secondary switchover occurs. Valid values:'."\n" ."\n" .'* **normal**: The node role is normal. No primary/secondary switchover occurs.'."\n" .'* **reverse**: The node role is reversed. A primary/secondary switchover occurs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'normal', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '070534EC-78D5-5519-83CC-E7B1A9213483', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'string', 'example' => '6', 'title' => ''], 'PageNumber' => ['description' => 'The page number.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], 'Items' => [ 'description' => 'The group ID.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Hostname' => ['description' => 'The name of the node.'."\n", 'type' => 'string', 'example' => 'gp-t4np568qe9710****-master-100984919', 'title' => ''], 'NodeAddress' => ['description' => 'The IP address of the node.'."\n", 'type' => 'string', 'example' => '192.168.XX.XX', 'title' => ''], 'NodeType' => ['description' => 'The type of the node. Valid values:'."\n" ."\n" .'* **master**: primary coordinator node.'."\n" .'* **slave**: standby coordinator node.'."\n" .'* **segment**: compute node.'."\n", 'type' => 'string', 'example' => 'master', 'title' => ''], 'NodeName' => ['description' => 'The name of the host where the node resides.'."\n", 'type' => 'string', 'example' => 'ap-southeast-1.i-t4n4c4ryr0yr441d****', 'title' => ''], 'NodePort' => ['description' => 'The port number of the node.'."\n", 'type' => 'string', 'example' => '3000', 'title' => ''], 'NodeID' => ['description' => 'The node ID.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], 'NodeStatus' => ['description' => 'The running state of the node. Valid values:'."\n" ."\n" .'* **UP**: The node is running.'."\n" .'* **DOWN**: The node is faulty.'."\n", 'type' => 'string', 'example' => 'UP', 'title' => ''], 'NodeRole' => ['description' => 'The current role of the node. Valid values:'."\n" ."\n" .'* **primary**: primary node.'."\n" .'* **mirror**: secondary node.'."\n", 'type' => 'string', 'example' => 'primary', 'title' => ''], 'NodePreferredRole' => ['description' => 'The initial role of the node. Valid values:'."\n" ."\n" .'* **primary**: primary node.'."\n" .'* **mirror**: secondary node.'."\n" ."\n" .'If the value of this parameter is the same as that of **NodeRole**, no primary/secondary switchover occurs. If the value of this parameter is different from that of **NodeRole**, a primary/secondary switchover occurs.'."\n", 'type' => 'string', 'example' => 'primary', 'title' => ''], 'NodeReplicationMode' => ['description' => 'The data synchronization state of the node. Valid values:'."\n" ."\n" .'* **Synced**: The node data is synchronized.'."\n" .'* **Not Syncing**: The node data is not synchronized.'."\n" .'* **No sync required**: Data synchronization is not required. This value may be returned only for the coordinator node.'."\n", 'type' => 'string', 'example' => 'Synced', 'title' => ''], 'NodeCID' => ['description' => 'The node group ID.'."\n", 'type' => 'string', 'example' => '-1', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'MasterStatusInfo' => [ 'description' => 'The state information about the coordinator node.'."\n", 'type' => 'object', 'properties' => [ 'NormalNodeNum' => ['description' => 'The number of normal nodes.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'ExceptionNodeNum' => ['description' => 'The number of abnormal nodes.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], 'NotSyncingNodeNum' => ['description' => 'The number of unsynchronized nodes.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], 'SyncedNodeNum' => ['description' => 'The number of synchronized nodes.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PreferredNodeNum' => ['description' => 'The number of nodes whose roles are normal.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'NotPreferredNodeNum' => ['description' => 'The number of nodes whose roles are reversed.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], ], 'title' => '', 'example' => '', ], 'SegmentStatusInfo' => [ 'description' => 'The state information about compute nodes.'."\n", 'type' => 'object', 'properties' => [ 'NormalNodeNum' => ['description' => 'The number of normal nodes.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], 'ExceptionNodeNum' => ['description' => 'The number of abnormal nodes.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], 'NotSyncingNodeNum' => ['description' => 'The number of unsynchronized nodes.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], 'SyncedNodeNum' => ['description' => 'The number of synchronized nodes.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], 'PreferredNodeNum' => ['description' => 'The number of nodes whose roles are normal.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], 'NotPreferredNodeNum' => ['description' => 'The number of nodes whose roles are reversed.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"070534EC-78D5-5519-83CC-E7B1A9213483\\",\\n \\"TotalCount\\": \\"6\\",\\n \\"PageNumber\\": \\"1\\",\\n \\"Items\\": [\\n {\\n \\"Hostname\\": \\"gp-t4np568qe9710****-master-100984919\\",\\n \\"NodeAddress\\": \\"192.168.XX.XX\\",\\n \\"NodeType\\": \\"master\\",\\n \\"NodeName\\": \\"ap-southeast-1.i-t4n4c4ryr0yr441d****\\",\\n \\"NodePort\\": \\"3000\\",\\n \\"NodeID\\": \\"1\\",\\n \\"NodeStatus\\": \\"UP\\",\\n \\"NodeRole\\": \\"primary\\",\\n \\"NodePreferredRole\\": \\"primary\\",\\n \\"NodeReplicationMode\\": \\"Synced\\",\\n \\"NodeCID\\": \\"-1\\"\\n }\\n ],\\n \\"MasterStatusInfo\\": {\\n \\"NormalNodeNum\\": 2,\\n \\"ExceptionNodeNum\\": 0,\\n \\"NotSyncingNodeNum\\": 0,\\n \\"SyncedNodeNum\\": 1,\\n \\"PreferredNodeNum\\": 2,\\n \\"NotPreferredNodeNum\\": 0\\n },\\n \\"SegmentStatusInfo\\": {\\n \\"NormalNodeNum\\": 4,\\n \\"ExceptionNodeNum\\": 0,\\n \\"NotSyncingNodeNum\\": 4,\\n \\"SyncedNodeNum\\": 0,\\n \\"PreferredNodeNum\\": 4,\\n \\"NotPreferredNodeNum\\": 0\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n \\n 4\\n 0\\n 4\\n 0\\n 4\\n 0\\n \\n 6\\n 070534EC-78D5-5519-83CC-E7B1A9213483\\n \\n 2\\n 2\\n 1\\n 0\\n 0\\n \\n 1\\n \\n primary\\n ap-southeast-1.i-t4n4c4ryr0yr441d****\\n master\\n gp-t4np568qe9710****-master-100984919\\n 1\\n No sync required\\n 192.168.XX.XX\\n 3000\\n primary\\n -1\\n UP\\n \\n \\n primary\\n ap-southeast-1.i-t4n3owiwk6kl7l73****\\n secondary_master\\n 192.168.XX.XX\\n 4\\n Synced\\n 192.168.XX.XX\\n 3000\\n primary\\n -2\\n UP\\n \\n \\n primary\\n ap-southeast-1.i-t4naykbl8y0a6rsx****\\n segment\\n gp-t4np568qe9710****-segment-100984921\\n 2\\n Not Syncing\\n 192.168.XX.XX\\n 4000\\n primary\\n 0\\n UP\\n \\n \\n primary\\n ap-southeast-1.i-t4n01qvc3uipy7cx****\\n segment\\n gp-t4np568qe9710****-segment-100984920\\n 3\\n Not Syncing\\n 192.168.XX.XX\\n 4000\\n primary\\n 1\\n UP\\n \\n \\n primary\\n ap-southeast-1.i-t4n74iakzw9e26c9****\\n segment\\n 192.168.XX.XX\\n 5\\n Not Syncing\\n 192.168.XX.XX\\n 4000\\n primary\\n 2\\n UP\\n \\n \\n primary\\n ap-southeast-1.i-t4nfjsxiyfu3yzaw****\\n segment\\n 192.168.XX.XX\\n 6\\n Not Syncing\\n 192.168.XX.XX\\n 4000\\n primary\\n 3\\n UP\\n \\n","errorExample":""}]', 'title' => 'DescribeDBInstanceDiagnosisSummary', 'description' => 'You can call this operation to query the distribution and states of coordinator and compute nodes in an AnalyticDB for PostgreSQL instance.'."\n", 'changeSet' => [ ['createdAt' => '2022-06-22T11:57:47.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceDiagnosisSummary'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceDiagnosisSummary', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeDBInstanceErrorLog' => [ 'summary' => 'Queries the error logs of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" ."\n" .'* **20**'."\n" .'* **50**'."\n" .'* **100**'."\n" ."\n" .'Default value: **20**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. Pages start from page 1. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-04-24T06:59Z', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC. The end time must be later than the start time.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-04-25T06:59Z', 'title' => ''], ], [ 'name' => 'LogLevel', 'in' => 'query', 'schema' => ['description' => 'The level of the logs to query. Valid values:'."\n" ."\n" .'* **ALL**: queries all error logs.'."\n" .'* **PANIC**: queries only abnormal logs.'."\n" .'* **FATAL**: queries only critical logs.'."\n" .'* **ERROR**: queries only error logs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ALL', 'title' => ''], ], [ 'name' => 'User', 'in' => 'query', 'schema' => ['description' => 'The username.'."\n", 'type' => 'string', 'required' => false, 'example' => 'adbpguser', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => false, 'example' => 'adbtest', 'title' => ''], ], [ 'name' => 'Host', 'in' => 'query', 'schema' => ['description' => 'This parameter is not supported in Alibaba Cloud public cloud.'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], [ 'name' => 'Keywords', 'in' => 'query', 'schema' => ['description' => 'One or more keywords that are used to query error logs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'error', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageNumber' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Items' => [ 'description' => 'The content of the error log.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Time' => ['description' => 'The time when the log was generated. The time is displayed in UTC.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2022-04-24 11:28:14', 'title' => ''], 'LogLevel' => ['description' => 'The level of the queried log.'."\n", 'type' => 'string', 'example' => 'FATAL', 'title' => ''], 'User' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'example' => 'adbpguser', 'title' => ''], 'Database' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'adbtest', 'title' => ''], 'Host' => ['description' => 'This parameter is not supported.'."\n", 'type' => 'string', 'example' => 'null', 'title' => ''], 'LogContext' => ['description' => 'The content of the error log.'."\n", 'type' => 'string', 'example' => 'unsupported frontend protocol 2689.28208: server supports 1.0 to 3.0', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"TotalCount\\": 1,\\n \\"PageNumber\\": 1,\\n \\"Items\\": [\\n {\\n \\"Time\\": 0,\\n \\"LogLevel\\": \\"FATAL\\",\\n \\"User\\": \\"adbpguser\\",\\n \\"Database\\": \\"adbtest\\",\\n \\"Host\\": \\"null\\",\\n \\"LogContext\\": \\"unsupported frontend protocol 2689.28208: server supports 1.0 to 3.0\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\n 1\\n 1\\n \\n \\n FATAL\\n adbpguser\\n adbtest\\n unsupported frontend protocol 2689.28208: server supports 1.0 to 3.0\\n \\n","errorExample":""}]', 'title' => 'DescribeDBInstanceErrorLog', 'changeSet' => [ ['createdAt' => '2022-06-22T11:57:47.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceErrorLog'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceErrorLog', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'description' => 'You can call this operation to query the error logs of an AnalyticDB for PostgreSQL instance.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', ], 'DescribeDBInstanceIPArrayList' => [ 'summary' => 'Queries the whitelists of IP addresses that are allowed to access an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbY61DIR'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'The ID of the resource group to which the instance belongs. For information about how to obtain the ID of a resource group, see [View basic information of a resource group](~~151181~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query details about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp***************', 'title' => ''], ], [ 'name' => 'DBInstanceIPArrayName', 'in' => 'query', 'schema' => ['description' => 'The name of the IP address whitelist. If you do not specify this parameter, the default whitelist is queried.'."\n" ."\n" .'> Each instance supports up to 50 IP address whitelists.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Default', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'CB7AA0BF-BE41-480E-A3DC-C97BF85A391B', 'title' => ''], 'Items' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DBInstanceIPArray' => [ 'description' => 'The queried IP address whitelists.'."\n", 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'DBInstanceIPArrayName' => ['description' => 'The name of the IP address whitelist.'."\n", 'type' => 'string', 'example' => 'Default', 'title' => ''], 'SecurityIPList' => ['description' => 'The IP addresses listed in the whitelist. Up to 1,000 IP addresses are contained in a whitelist and separated by commas (,). The IP addresses must use one of the following formats:'."\n" ."\n" .'* 0.0.0.0/0'."\n" .'* 10.23.12.24. This is a standard IP address.'."\n" .'* 10.23.12.24/24. This is a CIDR block. The value `/24` indicates that the prefix of the CIDR block is 24-bit long. You can replace 24 with a value in the range of `1 to 32`.'."\n", 'type' => 'string', 'example' => '127.0.0.1', 'title' => ''], 'DBInstanceIPArrayAttribute' => ['description' => 'The attribute of the IP address whitelist. By default, this parameter is empty. A whitelist with the `hidden` attribute is not displayed in the console.'."\n", 'type' => 'string', 'example' => 'hidden', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CB7AA0BF-BE41-480E-A3DC-C97BF85A391B\\",\\n \\"Items\\": {\\n \\"DBInstanceIPArray\\": [\\n {\\n \\"DBInstanceIPArrayName\\": \\"Default\\",\\n \\"SecurityIPList\\": \\"127.0.0.1\\",\\n \\"DBInstanceIPArrayAttribute\\": \\"hidden\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n\\n \\n default\\n hidden\\n 127.0.0.1\\n \\n\\nCB7AA0BF-BE41-480E-A3DC-C97BF85A391B\\n","errorExample":""}]', 'title' => 'DescribeDBInstanceIPArrayList', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2023-09-20T11:12:49.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceIPArrayList'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceIPArrayList', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'description' => 'You can call this operation to query the whitelists of IP addresses that are allowed to access an AnalyticDB for PostgreSQL instance.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', ], 'DescribeDBInstanceIndexUsage' => [ 'summary' => 'Queries the index usage of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '140283', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" ."\n" .'* **30**'."\n" .'* **50**'."\n" .'* **100**'."\n" ."\n" .'Default value: **30**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. Pages start from page 1. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The name of the database.'."\n", 'example' => 'test', 'title' => ''], ], [ 'name' => 'OrderBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'description' => 'order by search condition', 'example' => '{Field: SchemaName, Type: Desc}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageNumber' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Items' => [ 'description' => 'The queried index usage.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'DatabaseName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'adbtest', 'title' => ''], 'SchemaName' => ['description' => 'The name of the schema.'."\n", 'type' => 'string', 'example' => 'schema1', 'title' => ''], 'TableName' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'tab1_ptr_2010', 'title' => ''], 'IsPartitionTable' => ['description' => 'Indicates whether the table is a partitioned table. Valid values:'."\n" ."\n" .'* **true**: The table is a partitioned table.'."\n" .'* **false**: The table is not a partitioned table.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'ParentTableName' => ['description' => 'The name of the parent table.'."\n", 'type' => 'string', 'example' => 'tab1', 'title' => ''], 'IndexName' => ['description' => 'The name of the index.'."\n", 'type' => 'string', 'example' => 'idx1', 'title' => ''], 'IndexSize' => ['description' => 'The size of the index. Unit: bytes.'."\n", 'type' => 'string', 'example' => '10000', 'title' => ''], 'IndexScanTimes' => ['description' => 'The number of index scans.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '50000', 'title' => ''], 'IndexDef' => ['description' => 'The definition of the index.'."\n", 'type' => 'string', 'example' => 'CREATE INDEX idx1 ON schema1.tab1_ptr_2010', 'title' => ''], 'TimeLastUpdated' => ['description' => 'The time when the table was last deleted, inserted, or updated.'."\n", 'type' => 'string', 'example' => '2022-08-08T20:00:00Z', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"TotalCount\\": 1,\\n \\"PageNumber\\": 1,\\n \\"Items\\": [\\n {\\n \\"DatabaseName\\": \\"adbtest\\",\\n \\"SchemaName\\": \\"schema1\\",\\n \\"TableName\\": \\"tab1_ptr_2010\\",\\n \\"IsPartitionTable\\": true,\\n \\"ParentTableName\\": \\"tab1\\",\\n \\"IndexName\\": \\"idx1\\",\\n \\"IndexSize\\": \\"10000\\",\\n \\"IndexScanTimes\\": 50000,\\n \\"IndexDef\\": \\"CREATE INDEX idx1 ON schema1.tab1_ptr_2010\\",\\n \\"TimeLastUpdated\\": \\"2022-08-08T20:00:00Z\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\n 1\\n 1\\n \\n adbtest\\n schema1\\n tab1_ptr_2010\\n true\\n tab1\\n idx1\\n 10000\\n 50000\\n CREATE INDEX idx1 ON schema1.tab1_ptr_2010\\n 2022-08-08T20:00:00Z\\n \\n","errorExample":""}]', 'title' => 'DescribeDBInstanceIndexUsage', 'description' => 'Appropriate indexes can accelerate database queries. You can call this operation to query the index usage of an AnalyticDB for PostgreSQL instance.'."\n" ."\n" .'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~~).'."\n", 'changeSet' => [ ['createdAt' => '2024-08-06T13:38:27.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2022-06-22T11:57:47.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceIndexUsage'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceIndexUsage', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeDBInstanceNetInfo' => [ 'summary' => 'Queries the connection information of an instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbFBNS5O'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-0xin9q82c33xc****', 'title' => ''], ], [ 'name' => 'ConnectionString', 'in' => 'query', 'schema' => ['description' => 'The endpoint that is used to connect to the instance.'."\n" ."\n" .'> If you do not specify this parameter, the information about all endpoints of the instance is returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-0xin9q82c33xc****-master.gpdb.rds.aliyuncs.com', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '7565770E-7C45-462D-BA4A-8A5396F2CAD1', 'title' => ''], 'DBInstanceNetInfos' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DBInstanceNetInfo' => [ 'description' => 'The connection information of the instance.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'VSwitchId' => ['description' => 'The vSwitch ID. Multiple IDs are separated by commas (,).'."\n", 'type' => 'string', 'example' => 'vsw-0xi4kt4dho2kx79p1****', 'title' => ''], 'ConnectionString' => ['description' => 'The endpoint that is used to connect to the instance.'."\n", 'type' => 'string', 'example' => 'gp-0xin9q82c33xc****-master.gpdb.rds.aliyuncs.com', 'title' => ''], 'IPType' => ['description' => 'The type of the IP address.'."\n" ."\n" .'* Valid values for instances in the classic network: Inner and Public.'."\n" .'* Valid values for instances in a virtual private cloud (VPC): Private and Public.'."\n", 'type' => 'string', 'example' => 'Inner', 'title' => ''], 'Port' => ['description' => 'The port number.'."\n", 'type' => 'string', 'example' => '3432', 'title' => ''], 'VpcInstanceId' => ['description' => 'The ID of the instance that is deployed in a VPC.'."\n", 'type' => 'string', 'example' => 'vpc-0xi8hbevlbj3bq0co****', 'title' => ''], 'VPCId' => ['description' => 'The VPC ID of the instance.'."\n", 'type' => 'string', 'example' => 'vpc-0xi8hbevlbj3bq0co****', 'title' => ''], 'IPAddress' => ['description' => 'The IP address.'."\n", 'type' => 'string', 'example' => '127.0.0.1', 'title' => ''], 'AddressType' => ['description' => 'The type of the endpoint.'."\n", 'type' => 'string', 'example' => 'Primary', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'InstanceNetworkType' => ['description' => 'The network type of the instance. Valid values:'."\n" ."\n" .'* Classic: classic network.'."\n" .'* VPC: VPC.'."\n", 'type' => 'string', 'example' => 'VPC', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7565770E-7C45-462D-BA4A-8A5396F2CAD1\\",\\n \\"DBInstanceNetInfos\\": {\\n \\"DBInstanceNetInfo\\": [\\n {\\n \\"VSwitchId\\": \\"vsw-0xi4kt4dho2kx79p1****\\",\\n \\"ConnectionString\\": \\"gp-0xin9q82c33xc****-master.gpdb.rds.aliyuncs.com\\",\\n \\"IPType\\": \\"Inner\\",\\n \\"Port\\": \\"3432\\",\\n \\"VpcInstanceId\\": \\"vpc-0xi8hbevlbj3bq0co****\\",\\n \\"VPCId\\": \\"vpc-0xi8hbevlbj3bq0co****\\",\\n \\"IPAddress\\": \\"127.0.0.1\\",\\n \\"AddressType\\": \\"Primary\\"\\n }\\n ]\\n },\\n \\"InstanceNetworkType\\": \\"VPC\\"\\n}","errorExample":""},{"type":"xml","example":"\\nClassic\\n\\n \\n 1\\n gp-xxxxxxx.gpdb.rds.aliyuncs.com\\n 127.0.0.1\\n 3432\\n vpc-xxxxxxxxx\\n vsw-xxxxxxx\\n \\n\\n7565770E-7C45-462D-BA4A-8A5396F2CAD1\\n","errorExample":""}]', 'title' => 'DescribeDBInstanceNetInfo', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2023-07-31T11:14:52.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceNetInfo'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceNetInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeDBInstancePerformance' => [ 'summary' => 'Queries the information about performance metrics of an AnalyticDB for PostgreSQL instance within a time range.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNOW7XI'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'This parameter is no longer used.'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances within a region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'Key', 'in' => 'query', 'schema' => ['description' => 'The performance metric. Separate multiple values with commas (,). For more information, see [Performance parameters](~~86943~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'CpuUsage,MemoryUsage,Gpdb_SpaceUsage,Gpdb_IOPS,Gpdb_session', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => true, 'example' => '2022-07-08T03:47Z', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC. The end time must be later than the start time.'."\n", 'type' => 'string', 'required' => true, 'example' => '2022-07-09T03:47Z', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'EndTime' => ['description' => 'The end time of the query.'."\n", 'type' => 'string', 'example' => '2022-07-09T03:47Z', 'title' => ''], 'StartTime' => ['description' => 'The start time of the query.'."\n", 'type' => 'string', 'example' => '2022-07-08T03:47Z', 'title' => ''], 'DBInstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], 'Engine' => ['description' => 'The database engine of the instance.'."\n", 'type' => 'string', 'example' => 'gpdb', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '5E85244A-AB47-46A3-A3AD-5F307DCB407E', 'title' => ''], 'PerformanceKeys' => [ 'description' => 'The queried performance metrics.'."\n", 'type' => 'array', 'items' => ['description' => 'The queried performance metrics. Format: {perf1, perf2, perf3, …}.'."\n", 'type' => 'string', 'example' => ' { "Key": "MemoryUsage", "GroupValues": [{ "Name": "7198315-1530522046144-1", "Values": "" }, { "Name": "7198315-1530522046144-0", "Values": "" }, {"Values": "", "Name": "master" } ], "Unit": "%", "ValueFormat": "mem_usage"}', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"EndTime\\": \\"2022-07-09T03:47Z\\",\\n \\"StartTime\\": \\"2022-07-08T03:47Z\\",\\n \\"DBInstanceId\\": \\"gp-bp12ga6v69h86****\\",\\n \\"Engine\\": \\"gpdb\\",\\n \\"RequestId\\": \\"5E85244A-AB47-46A3-A3AD-5F307DCB407E\\",\\n \\"PerformanceKeys\\": [\\n \\" { \\\\\\"Key\\\\\\": \\\\\\"MemoryUsage\\\\\\", \\\\\\"GroupValues\\\\\\": [{ \\\\\\"Name\\\\\\": \\\\\\"7198315-1530522046144-1\\\\\\", \\\\\\"Values\\\\\\": \\\\\\"\\\\\\" }, { \\\\\\"Name\\\\\\": \\\\\\"7198315-1530522046144-0\\\\\\", \\\\\\"Values\\\\\\": \\\\\\"\\\\\\" }, {\\\\\\"Values\\\\\\": \\\\\\"\\\\\\", \\\\\\"Name\\\\\\": \\\\\\"master\\\\\\" } ], \\\\\\"Unit\\\\\\": \\\\\\"%\\\\\\", \\\\\\"ValueFormat\\\\\\": \\\\\\"mem_usage\\\\\\"}\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 2022-07-09T03:47Z\\n 2022-07-08T03:47Z\\n gp-bp12ga6v69h86****\\n gpdb\\n 5E85244A-AB47-46A3-A3AD-5F307DCB407E\\n { \\"Key\\": \\"MemoryUsage\\", \\"GroupValues\\": [{ \\"Name\\": \\"7198315-1530522046144-1\\", \\"Values\\": \\"\\" }, { \\"Name\\": \\"7198315-1530522046144-0\\", \\"Values\\": \\"\\" }, {\\"Values\\": \\"\\", \\"Name\\": \\"master\\" } ], \\"Unit\\": \\"%\\", \\"ValueFormat\\": \\"mem_usage\\"}\\n","errorExample":""}]', 'title' => 'DescribeDBInstancePerformance', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstancePerformance'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstancePerformance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeDBInstancePlans' => [ 'summary' => 'Queries the information about plans for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdb0DT1KA'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'PlanDesc', 'in' => 'query', 'schema' => ['description' => 'The description of the plan.'."\n", 'type' => 'string', 'required' => false, 'example' => 'this is a test plan', 'title' => ''], ], [ 'name' => 'PlanType', 'in' => 'query', 'schema' => ['description' => 'The type of the plan. Valid values:'."\n" ."\n" .'* **PauseResume**: pauses and resumes an instance.'."\n" .'* **Resize**: scales an instance.'."\n" .'* **ModifySpec**: changes compute node specifications.'."\n", 'type' => 'string', 'required' => false, 'example' => 'PauseResume', 'title' => ''], ], [ 'name' => 'PlanScheduleType', 'in' => 'query', 'schema' => ['description' => 'The execution mode of the plan. Valid values:'."\n" ."\n" .'* **Postpone**: The plan is executed later.'."\n" .'* **Regular**: The plan is executed periodically.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Regular', 'title' => ''], ], [ 'name' => 'PlanId', 'in' => 'query', 'schema' => ['description' => 'The plan ID.'."\n" ."\n" .'> You can call the [DescribeDBInstancePlans](~~449398~~) operation to query the information about plans, including plan IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => '1234', 'pattern' => '^\\d+$', 'title' => ''], ], [ 'name' => 'PlanCreateDate', 'in' => 'query', 'schema' => ['description' => 'The time that is used to filter plans. If you specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format, the plans that are created before this time are returned. The time must be in UTC. If you do not specify this parameter, all plans are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-04-17T23:00Z', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'Indicates whether the request was successful.'."\n" ."\n" .'If the request was successful, **success** is returned. If the request failed, this parameter is not returned.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'ErrorMessage' => ['description' => 'The error message.'."\n" ."\n" .'This parameter is returned only if the request fails.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '34b32a0a-08ef-4a87-b6be-cdd988888888', 'title' => ''], 'TotalRecordCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageRecordCount' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageNumber' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Items' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'PlanList' => [ 'description' => 'The queried plans.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'PlanName' => ['description' => 'The name of the plan.'."\n", 'type' => 'string', 'example' => 'test-plan', 'title' => ''], 'PlanDesc' => ['description' => 'The description of the plan.'."\n", 'type' => 'string', 'example' => 'this is a test plan', 'title' => ''], 'PlanId' => ['description' => 'The plan ID.'."\n", 'type' => 'string', 'example' => '1234', 'title' => ''], 'PlanStatus' => ['description' => 'The status of the plan. Valid values:'."\n" ."\n" .'* **active**'."\n" .'* **cancel**'."\n" .'* **deleted**'."\n" .'* **finished**'."\n", 'type' => 'string', 'example' => 'active', 'title' => ''], 'PlanType' => ['description' => 'The type of the plan. Valid values:'."\n" ."\n" .'* **PauseResume**: pauses and resumes an instance.'."\n" .'* **Resize**: scales an instance.'."\n", 'type' => 'string', 'example' => 'PauseResume', 'title' => ''], 'PlanScheduleType' => ['description' => 'The execution mode of the plan. Valid values:'."\n" ."\n" .'* **Postpone**: The plan is executed later.'."\n" .'* **Regular**: The plan is executed periodically.'."\n", 'type' => 'string', 'example' => 'Regular', 'title' => ''], 'PlanStartDate' => ['description' => 'The start time of the plan. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n" ."\n" .'> '."\n" ."\n" .'* This parameter is returned only for the plans that are periodically executed.'."\n" ."\n" .'* If you did not specify the start time when you created the plan, the current time is returned.'."\n", 'type' => 'string', 'example' => '2022-04-17T23:00Z', 'title' => ''], 'PlanEndDate' => ['description' => 'The end time of the plan. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.'."\n" ."\n" .'> '."\n" ."\n" .'* This parameter is returned only for the plans that are periodically executed.'."\n" ."\n" .'* If you did not specify the end time when you created the plan, this parameter is not returned.'."\n", 'type' => 'string', 'example' => '2023-04-17T23:00Z', 'title' => ''], 'PlanConfig' => ['description' => 'The execution information of the plan.'."\n", 'type' => 'string', 'example' => '{"pause":{"planCronTime":"0 22 * * 5"},"resume":{"planCronTime":"0 23 * * 5"}}', 'title' => ''], 'DBInstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"success\\",\\n \\"ErrorMessage\\": \\"****\\",\\n \\"RequestId\\": \\"34b32a0a-08ef-4a87-b6be-cdd988888888\\",\\n \\"TotalRecordCount\\": 1,\\n \\"PageRecordCount\\": 1,\\n \\"PageNumber\\": 1,\\n \\"Items\\": {\\n \\"PlanList\\": [\\n {\\n \\"PlanName\\": \\"test-plan\\",\\n \\"PlanDesc\\": \\"this is a test plan\\",\\n \\"PlanId\\": \\"1234\\",\\n \\"PlanStatus\\": \\"active\\",\\n \\"PlanType\\": \\"PauseResume\\",\\n \\"PlanScheduleType\\": \\"Regular\\",\\n \\"PlanStartDate\\": \\"2022-04-17T23:00Z\\",\\n \\"PlanEndDate\\": \\"2023-04-17T23:00Z\\",\\n \\"PlanConfig\\": \\"{\\\\\\"pause\\\\\\":{\\\\\\"planCronTime\\\\\\":\\\\\\"0 22 * * 5\\\\\\"},\\\\\\"resume\\\\\\":{\\\\\\"planCronTime\\\\\\":\\\\\\"0 23 * * 5\\\\\\"}}\\",\\n \\"DBInstanceId\\": \\"gp-bp12ga6v69h86****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n success\\n 34b32a0a-08ef-4a87-b6be-cdd988888888\\n 1\\n 1\\n 1\\n \\n test-plan\\n this is a test plan\\n 1234\\n active\\n PauseResume\\n Regular\\n 2022-04-17T23:00Z\\n 2023-04-17T23:00Z\\n {\\"pause\\":{\\"planCronTime\\":\\"0 22 * * 5\\"},\\"resume\\":{\\"planCronTime\\":\\"0 23 * * 5\\"}}\\n gp-bp12ga6v69h86****\\n \\n","errorExample":""}]', 'title' => 'DescribeDBInstancePlans', 'changeSet' => [ ['createdAt' => '2022-08-25T13:00:47.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDBInstancePlans'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstancePlans', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], ], 'description' => 'You can call this operation to query the details of plans for an AnalyticDB for PostgreSQL instance in Serverless mode.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', ], 'DescribeDBInstanceSSL' => [ 'summary' => 'Queries the SSL information about an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbBXNVPW'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'SSLExpiredTime' => ['description' => 'The expiration time of the SSL certificate.'."\n", 'type' => 'string', 'example' => '2023-08-05T09:05:53Z', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'D5FF8636-37F6-4CE0-8002-F8734C62C686', 'title' => ''], 'SSLEnabled' => ['description' => 'Indicates whether SSL encryption is enabled.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'DBInstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], 'CertCommonName' => ['description' => 'The name of the SSL certificate.'."\n", 'type' => 'string', 'example' => '*.gpdbmaster.xxx.rds.aliyuncs.com', 'title' => ''], 'DBInstanceName' => ['description' => 'The name of the instance.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"SSLExpiredTime\\": \\"2023-08-05T09:05:53Z\\",\\n \\"RequestId\\": \\"D5FF8636-37F6-4CE0-8002-F8734C62C686\\",\\n \\"SSLEnabled\\": true,\\n \\"DBInstanceId\\": \\"gp-bp12ga6v69h86****\\",\\n \\"CertCommonName\\": \\"*.gpdbmaster.xxx.rds.aliyuncs.com\\",\\n \\"DBInstanceName\\": \\"gp-bp12ga6v69h86****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 2023-08-05T09:05:53Z\\n D5FF8636-37F6-4CE0-8002-F8734C62C686\\n true\\n gp-bp12ga6v69h86****\\n *.gpdbmaster.xxx.rds.aliyuncs.com\\n gp-bp12ga6v69h86****\\n","errorExample":""}]', 'title' => 'DescribeDBInstanceSSL', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceSSL'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceSSL', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeDBInstanceSupportMaxPerformance' => [ 'summary' => 'Queries the maximum throughput of an instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbUY8DE6'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-bp***************', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'DBInstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'gp-bp***************', 'title' => ''], 'Performances' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Performance' => [ 'description' => 'The array of performance metrics objects.', 'type' => 'array', 'items' => [ 'description' => 'The Nth performance metrics object.', 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The name of the performance metrics.', 'type' => 'string', 'example' => 'max_throughput: Maximum throughput; max_iops: Maximum IOPS', 'title' => ''], 'Value' => ['description' => 'The metric value.', 'type' => 'string', 'example' => '90', 'title' => ''], 'Bottleneck' => ['description' => 'The type of performance bottlenecks.', 'type' => 'string', 'example' => 'ecs or disk', 'title' => ''], 'Unit' => ['description' => 'The unit of the performance metric.', 'type' => 'string', 'example' => 'Maximum throughput: MB/s'."\n" .'Maximum IOPS: times/s', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'Query the maximum throughput of an instance', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceSupportMaxPerformance'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceSupportMaxPerformance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"DBInstanceId\\": \\"gp-bp***************\\",\\n \\"Performances\\": {\\n \\"Performance\\": [\\n {\\n \\"Key\\": \\"max_throughput: Maximum throughput; max_iops: Maximum IOPS\\",\\n \\"Value\\": \\"90\\",\\n \\"Bottleneck\\": \\"ecs or disk\\",\\n \\"Unit\\": \\"Maximum throughput: MB/s\\\\nMaximum IOPS: times/s\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'translator' => 'machine', ], 'DescribeDBInstances' => [ 'summary' => 'Lists AnalyticDB for PostgreSQL instances.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbAXSDJ9'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the available region IDs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceDescription', 'in' => 'query', 'schema' => ['description' => 'The instance description.', 'type' => 'string', 'required' => false, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'InstanceNetworkType', 'in' => 'query', 'schema' => ['description' => 'The instance network type. Valid values:'."\n" ."\n" .'- **VPC**: VPC'."\n" ."\n" .'- **Classic**: classic network'."\n" ."\n" .'> If you omit this parameter, the operation returns instances of all network types.', 'type' => 'string', 'required' => false, 'example' => 'VPC', 'title' => ''], ], [ 'name' => 'DBInstanceIds', 'in' => 'query', 'schema' => ['description' => 'The instance IDs. Separate multiple IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return on each page. Valid values:'."\n" ."\n" .'- **30**'."\n" ."\n" .'- **50**'."\n" ."\n" .'- **100**'."\n" ."\n" .'Default value: **30**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '30', 'example' => '50', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. The value must be an integer that is greater than 0. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The tags of the instance.', 'type' => 'array', 'items' => [ 'description' => 'The tags of the instance.', 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The key of the tag.', 'type' => 'string', 'required' => false, 'example' => 'test-key', 'title' => ''], 'Value' => ['description' => 'The value of the tag.', 'type' => 'string', 'required' => false, 'example' => 'test-value', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'maxItems' => 21, 'title' => '', 'example' => '', ], ], [ 'name' => 'InstanceDeployTypes', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => 'This parameter is deprecated. Do not specify this parameter.', 'type' => 'array', 'items' => ['description' => 'This parameter is deprecated. Do not specify this parameter.', 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'DBInstanceStatuses', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => 'The state of the instance.', 'type' => 'array', 'items' => ['description' => 'The state of the instance. You can specify multiple states. Separate multiple states with a comma (,). For more information, see [Instance states](~~86944~~).'."\n" ."\n" .'> The value of this parameter must be in lowercase.', 'type' => 'string', 'required' => false, 'example' => 'running', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'DBInstanceCategories', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => 'The instance edition. You can specify multiple editions. Separate multiple editions with a comma (,).', 'type' => 'array', 'items' => ['description' => 'The instance edition. You can specify multiple editions. Separate multiple editions with a comma (,). Valid values:'."\n" ."\n" .'- **basic**: Basic Edition.'."\n" ."\n" .'- **highavailability**: High-availability Edition.'."\n" ."\n" .'- **finance**: Enterprise Edition.', 'type' => 'string', 'required' => false, 'example' => 'basic,highavailability', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'DBInstanceModes', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => 'The resource type of the instance. You can specify multiple resource types. Separate multiple resource types with a comma (,).', 'type' => 'array', 'items' => ['description' => 'The resource type of the instance. You can specify multiple resource types. Separate multiple resource types with a comma (,). Valid values:'."\n" ."\n" .'- **serverless**: Serverless.'."\n" ."\n" .'- **storageelastic**: elastic storage mode.'."\n" ."\n" .'- **classic**: reserved storage mode.', 'type' => 'string', 'required' => false, 'example' => 'storageelastic,serverless', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'The ID of the resource group to which the instance belongs.', 'type' => 'string', 'required' => false, 'example' => 'rg-bp67acfmxazb4p****', 'title' => ''], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['description' => 'The VPC ID. You can specify this parameter to query instances in a VPC.', 'type' => 'string', 'required' => false, 'example' => 'vpc-t4nqyp3tc5mx7vy6****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'Items' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DBInstance' => [ 'description' => 'A list of instance details.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ConnectionMode' => ['description' => 'This parameter is deprecated and not returned.'."\n" ."\n" .'To query the access mode, call the [DescribeDBInstanceAttribute](~~86910~~) operation.', 'type' => 'string', 'example' => 'null', 'title' => ''], 'CreateTime' => ['description' => 'The time when the instance was created. The time is in UTC.', 'type' => 'string', 'example' => '2021-10-09T04:54:08Z', 'title' => ''], 'DBInstanceCategory' => ['description' => 'The instance edition. Valid values:'."\n" ."\n" .'- `Basic`: Basic Edition.'."\n" ."\n" .'- `HighAvailability`: High-availability Edition.'."\n" ."\n" .'- `Finance`: Enterprise Edition.', 'type' => 'string', 'example' => 'HighAvailability', 'title' => ''], 'DBInstanceDescription' => ['description' => 'The instance description.', 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], 'DBInstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], 'DBInstanceMode' => ['description' => 'The instance mode. Valid values:'."\n" ."\n" .'- `Serverless`: Serverless.'."\n" ."\n" .'- `StorageElastic`: storage-elastic mode.'."\n" ."\n" .'- `Classic`: storage-reserved mode.', 'type' => 'string', 'example' => 'StorageElastic', 'title' => ''], 'DBInstanceNetType' => ['description' => 'The network interface type of the instance. Valid values:'."\n" ."\n" .'- `0`: Internet.'."\n" ."\n" .'- `1`: internal network.'."\n" ."\n" .'- `2`: VPC.', 'type' => 'string', 'example' => '2', 'title' => ''], 'DBInstanceStatus' => ['description' => 'The instance status. For more information, see [Instance status table](~~86944~~).', 'type' => 'string', 'example' => 'Running', 'title' => ''], 'Engine' => ['description' => 'The database engine.', 'type' => 'string', 'example' => 'gpdb', 'title' => ''], 'EngineVersion' => ['description' => 'The database engine version.', 'type' => 'string', 'example' => '6.0', 'title' => ''], 'ExpireTime' => ['description' => 'The time when the instance expires. The time is in UTC.'."\n" ."\n" .'> For pay-as-you-go instances, the expiration time is `2999-09-08T16:00:00Z`.', 'type' => 'string', 'example' => '2999-09-08T16:00:00Z', 'title' => ''], 'InstanceDeployType' => ['description' => 'The deployment type of the instance. Valid values:'."\n" ."\n" .'- `cluster`: storage-elastic mode or Serverless.'."\n" ."\n" .'- `replicaSet`: storage-reserved mode.', 'type' => 'string', 'example' => 'cluster', 'title' => ''], 'InstanceNetworkType' => ['description' => 'The network type of the instance. Valid values:'."\n" ."\n" .'- `Classic`: classic network.'."\n" ."\n" .'- `VPC`: VPC.', 'type' => 'string', 'example' => 'VPC', 'title' => ''], 'LockMode' => ['description' => 'The lock mode of the instance. Valid values:'."\n" ."\n" .'- `Unlock`: The instance is not locked.'."\n" ."\n" .'- `ManualLock`: The instance is manually locked.'."\n" ."\n" .'- `LockByExpiration`: The instance is automatically locked after it expires.'."\n" ."\n" .'- `LockByRestoration`: The instance is automatically locked before it is rolled back.'."\n" ."\n" .'- `LockByDiskQuota`: The instance is automatically locked when its storage space is full.'."\n" ."\n" .'- `LockReadInstanceByDiskQuota`: The read-only instance is automatically locked when its storage space is full.', 'type' => 'string', 'example' => 'Unlock', 'title' => ''], 'LockReason' => ['description' => 'The reason that the instance is locked. Valid values:'."\n" ."\n" .'- `0`: The instance is running as normal.'."\n" ."\n" .'- `1`: The instance is manually locked.'."\n" ."\n" .'- `2`: The instance is automatically locked after it expires.'."\n" ."\n" .'- `3`: The instance is automatically locked before it is rolled back.'."\n" ."\n" .'- `4`: The instance is automatically locked when its storage space is full.'."\n" ."\n" .'> For instances in storage-reserved mode, this parameter returns an empty string if the instance is not locked.', 'type' => 'string', 'example' => '0', 'title' => ''], 'MasterNodeNum' => ['description' => 'The number of coordinator nodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PayType' => ['description' => 'The billing method of the instance. Valid values:'."\n" ."\n" .'- `Postpaid`: pay-as-you-go.'."\n" ."\n" .'- `Prepaid`: subscription.', 'type' => 'string', 'example' => 'Postpaid', 'title' => ''], 'ProdType' => ['description' => 'The product type. Valid values:'."\n" ."\n" .'- `standard`: Standard.'."\n" ."\n" .'- `cost-effective`: Cost-effective.', 'type' => 'string', 'example' => 'standard', 'title' => ''], 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'ResourceGroupId' => ['description' => 'The ID of the resource group to which the instance belongs.', 'type' => 'string', 'example' => 'rg-bp67acfmxazb4p****', 'title' => ''], 'SegNodeNum' => ['description' => 'The number of segment nodes.', 'type' => 'string', 'example' => '4', 'title' => ''], 'ServerlessMode' => ['description' => 'The mode of the Serverless instance. Valid values:'."\n" ."\n" .'- `Manual`: Manual scheduling.'."\n" ."\n" .'- `Auto`: Automatic scheduling.'."\n" ."\n" .'> * This parameter is returned only for Serverless instances.'."\n" .'>'."\n" .'> * The automatic scheduling feature for AnalyticDB for PostgreSQL Serverless is in invitation-only preview. To use this feature, you can [submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket?spm=openapi-amp.newDocPublishment.0.0.18ce281fyYBKUw\\&product=rds) to request access.', 'type' => 'string', 'example' => 'Manual', 'title' => ''], 'StorageSize' => ['description' => 'The storage capacity of the instance, in GB.', 'type' => 'string', 'example' => '50', 'title' => ''], 'StorageType' => ['description' => 'The storage type of the instance. Valid values:'."\n" ."\n" .'- `cloud_essd`: ESSD.'."\n" ."\n" .'- `cloud_efficiency`: Ultra Disk.', 'type' => 'string', 'example' => 'cloud_essd', 'title' => ''], 'Tags' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Tag' => [ 'description' => 'An array of tags.', 'type' => 'array', 'items' => [ 'description' => 'Tag details.', 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'test-key', 'title' => ''], 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'test-value', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => 'The tags attached to the instance.', 'title' => '', 'example' => '', ], 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-bp1cpq8mr64paltkb****', 'title' => ''], 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'example' => 'vpc-bp19ame5m1r3oejns****', 'title' => ''], 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-h', 'title' => ''], ], 'description' => 'The details of an instance.', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => 'A collection of instances.', 'title' => '', 'example' => '', ], 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageRecordCount' => ['description' => 'The number of entries returned on the current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '53EA07B7-FC2A-521B-AB7C-27**********', 'title' => ''], 'TotalRecordCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Items\\": {\\n \\"DBInstance\\": [\\n {\\n \\"ConnectionMode\\": \\"null\\",\\n \\"CreateTime\\": \\"2021-10-09T04:54:08Z\\",\\n \\"DBInstanceCategory\\": \\"HighAvailability\\",\\n \\"DBInstanceDescription\\": \\"gp-bp12ga6v69h86****\\",\\n \\"DBInstanceId\\": \\"gp-bp12ga6v69h86****\\",\\n \\"DBInstanceMode\\": \\"StorageElastic\\",\\n \\"DBInstanceNetType\\": \\"2\\",\\n \\"DBInstanceStatus\\": \\"Running\\",\\n \\"Engine\\": \\"gpdb\\",\\n \\"EngineVersion\\": \\"6.0\\",\\n \\"ExpireTime\\": \\"2999-09-08T16:00:00Z\\",\\n \\"InstanceDeployType\\": \\"cluster\\",\\n \\"InstanceNetworkType\\": \\"VPC\\",\\n \\"LockMode\\": \\"Unlock\\",\\n \\"LockReason\\": \\"0\\",\\n \\"MasterNodeNum\\": 1,\\n \\"PayType\\": \\"Postpaid\\",\\n \\"ProdType\\": \\"standard\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceGroupId\\": \\"rg-bp67acfmxazb4p****\\",\\n \\"SegNodeNum\\": \\"4\\",\\n \\"ServerlessMode\\": \\"Manual\\",\\n \\"StorageSize\\": \\"50\\",\\n \\"StorageType\\": \\"cloud_essd\\",\\n \\"Tags\\": {\\n \\"Tag\\": [\\n {\\n \\"Key\\": \\"test-key\\",\\n \\"Value\\": \\"test-value\\"\\n }\\n ]\\n },\\n \\"VSwitchId\\": \\"vsw-bp1cpq8mr64paltkb****\\",\\n \\"VpcId\\": \\"vpc-bp19ame5m1r3oejns****\\",\\n \\"ZoneId\\": \\"cn-hangzhou-h\\"\\n }\\n ]\\n },\\n \\"PageNumber\\": 1,\\n \\"PageRecordCount\\": 1,\\n \\"RequestId\\": \\"53EA07B7-FC2A-521B-AB7C-27**********\\",\\n \\"TotalRecordCount\\": 1\\n}","type":"json"}]', 'title' => 'DescribeDBInstances', 'description' => '## Usage'."\n" ."\n" .'This API retrieves details for AnalyticDB for PostgreSQL instances in a specified region, such as instance type, network type, and instance status.'."\n" ."\n" .'## QPS limit'."\n" ."\n" .'The default QPS limit for this API is 1,000 requests per second per user. Calls exceeding this limit are throttled, which can impact your business. Plan your API calls accordingly.'."\n" ."\n" .''."\n" ."\n" .'The QPS limit specified in this document is for reference only. For the latest rate limits, see the [API rate quota list](https://quotas.console.aliyun.com/flow-control-products/gpdb/quotas).'."\n" ."\n" .'', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2024-01-04T12:19:52.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2023-12-11T12:31:18.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-10-28T08:10:38.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-08-11T11:28:56.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2021-11-22T06:57:31.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstances'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/*'], ], ], ], ], 'translator' => 'manual', ], 'DescribeDBResourceGroup' => [ 'summary' => 'Retrieves the details of one or more resource groups.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197993', 'abilityTreeNodes' => ['FEATUREgpdbGDXMO2'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the instance IDs of all AnalyticDB for PostgreSQL instances in a specified region.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'ResourceGroupName', 'in' => 'query', 'schema' => ['description' => 'The name of the resource group.'."\n" ."\n" .'> If this parameter is omitted, details for all resource groups are returned. Otherwise, only details for the specified resource group are returned.', 'type' => 'string', 'required' => false, 'example' => 'testgroup', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'ResourceGroupItems' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'ResourceGroupItem' => [ 'description' => 'The details of resource groups.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ResourceGroupName' => ['description' => 'The name of the resource group.', 'type' => 'string', 'example' => 'testgroup', 'title' => ''], 'ResourceGroupConfig' => ['description' => 'The configuration of the resource group.'."\n" ."\n" .'> 1. `CpuRateLimit`: The percentage of CPU resources that the resource group can use. Unit: %.'."\n" .'>'."\n" .'> 2. `MemoryLimit`: The percentage of memory resources that the resource group can use. Unit: %.'."\n" .'>'."\n" .'> 3. `MemorySharedQuota`: The percentage of memory resources that can be shared among transactions in the resource group. Unit: %. Default value: 80.'."\n" .'>'."\n" .'> 4. `MemorySpillRatio`: The memory usage threshold for memory-intensive transactions. When a transaction reaches this threshold, it spills data to disk. Unit: %. Default value: 0.'."\n" .'>'."\n" .'> 5. `Concurrency`: The maximum concurrency for the resource group. Default value: 20.', 'type' => 'string', 'example' => '{"CpuRateLimit":10,"MemoryLimit":12,"MemorySharedQuota":20,"MemorySpillRatio":75,"Concurrency":3}', 'title' => ''], 'RoleList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Role' => [ 'description' => 'A list of associated roles.', 'type' => 'array', 'items' => ['description' => 'The role name.', 'type' => 'string', 'example' => 'testrole', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => 'Details of a resource group.', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => 'The returned information.', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"ResourceGroupItems\\": {\\n \\"ResourceGroupItem\\": [\\n {\\n \\"ResourceGroupName\\": \\"testgroup\\",\\n \\"ResourceGroupConfig\\": \\"{\\\\\\"CpuRateLimit\\\\\\":10,\\\\\\"MemoryLimit\\\\\\":12,\\\\\\"MemorySharedQuota\\\\\\":20,\\\\\\"MemorySpillRatio\\\\\\":75,\\\\\\"Concurrency\\\\\\":3}\\",\\n \\"RoleList\\": {\\n \\"Role\\": [\\n \\"testrole\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'DescribeDBResourceGroup', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBResourceGroup'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'manual', ], 'DescribeDBResourceManagementMode' => [ 'summary' => 'Queries the resource management mode of an AnalyticDB for PostgreSQL instance.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197975', 'abilityTreeNodes' => ['FEATUREgpdbGDXMO2'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'ResourceManagementMode' => ['description' => 'The resource management mode. Valid values:'."\n" ."\n" .'* resourceGroup: resource group management.'."\n" .'* resourceQueue: resource queue management.'."\n", 'type' => 'string', 'example' => 'resourceGroup', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"ResourceManagementMode\\": \\"resourceGroup\\"\\n}","type":"json"}]', 'title' => 'DescribeDBResourceManagementMode', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBResourceManagementMode'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBResourceManagementMode', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeDBVersionInfos' => [ 'summary' => 'Queries the information about minor versions of AnalyticDB for PostgreSQL instances.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNN784S'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'The ID of the resource group to which the instance belongs. For information about how to obtain the ID of a resource group, see [View basic information of a resource group](~~151181~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-bp67acfmxazb4p****', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceMode', 'in' => 'query', 'schema' => ['description' => 'The resource type of the instance. Valid values:'."\n" ."\n" .'* **StorageElastic**: elastic storage mode.'."\n" .'* **Serverless**: Serverless mode.'."\n", 'type' => 'string', 'required' => false, 'example' => 'StorageElastic', 'title' => ''], ], [ 'name' => 'DBVersion', 'in' => 'query', 'schema' => ['description' => 'The minor version number that does not include the prefix.'."\n", 'type' => 'string', 'required' => false, 'example' => '6.3.10.20。', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'VersionDetails' => [ 'description' => 'The queried minor versions.'."\n", 'type' => 'object', 'properties' => [ 'StorageElastic' => ['description' => 'The queried minor version information about the instance in elastic storage mode.'."\n", 'type' => 'any', 'example' => '"StorageElasic": ['."\n" .' {'."\n" .' "engineVersion": "6.0",'."\n" .' "versionInfos": ['."\n" .' {'."\n" .' "kernelVersion": "v6.3.11.2",'."\n" .' "releaseDate": "2023-08-17T09:14Z",'."\n" .' "expirationDate": "2026-08-17T09:14Z"'."\n" .' }'."\n" .' },'."\n" .' {'."\n" .' "engineVersion": "7.0",'."\n" .' "versionInfos": ['."\n" .' {'."\n" .' "kernelVersion": "v7.0.2.0",'."\n" .' "releaseDate": "2023-08-09T06:47Z",'."\n" .' "expirationDate": "2026-08-09T06:47Z"'."\n" .' },'."\n" .' {'."\n" .' "kernelVersion": "v7.0.1.8",'."\n" .' "releaseDate": "2023-05-25T06:56Z",'."\n" .' "expirationDate": "2026-05-25T06:56Z"'."\n" .' }'."\n" .' ]'."\n" .' }'."\n" .']'."\n", 'title' => ''], 'Serverless' => ['description' => 'The queried minor version information about the instance in Serverless mode.'."\n", 'type' => 'any', 'example' => '"Serverless": ['."\n" .' {'."\n" .' "engineVersion": "6.0",'."\n" .' "versionInfos": ['."\n" .' {'."\n" .' "kernelVersion": "v2.0.0.5",'."\n" .' "releaseDate": "2023-05-28T07:48Z",'."\n" .' "expirationDate": "2026-05-28T07:48Z"'."\n" .' },'."\n" .' {'."\n" .' "kernelVersion": "v2.0.0.1",'."\n" .' "releaseDate": "2023-03-27T12:44Z",'."\n" .' "expirationDate": "2026-03-27T12:44Z"'."\n" .' },'."\n" .' {'."\n" .' "kernelVersion": "v1.0.5.1",'."\n" .' "releaseDate": "2023-02-22T11:39Z",'."\n" .' "expirationDate": "2026-02-22T11:39Z"'."\n" .' }'."\n" .' ]'."\n" .' }'."\n" .']', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"VersionDetails\\": {\\n \\"StorageElastic\\": \\"\\\\\\"StorageElasic\\\\\\": [\\\\n {\\\\n \\\\\\"engineVersion\\\\\\": \\\\\\"6.0\\\\\\",\\\\n \\\\\\"versionInfos\\\\\\": [\\\\n {\\\\n \\\\\\"kernelVersion\\\\\\": \\\\\\"v6.3.11.2\\\\\\",\\\\n \\\\\\"releaseDate\\\\\\": \\\\\\"2023-08-17T09:14Z\\\\\\",\\\\n \\\\\\"expirationDate\\\\\\": \\\\\\"2026-08-17T09:14Z\\\\\\"\\\\n }\\\\n },\\\\n {\\\\n \\\\\\"engineVersion\\\\\\": \\\\\\"7.0\\\\\\",\\\\n \\\\\\"versionInfos\\\\\\": [\\\\n {\\\\n \\\\\\"kernelVersion\\\\\\": \\\\\\"v7.0.2.0\\\\\\",\\\\n \\\\\\"releaseDate\\\\\\": \\\\\\"2023-08-09T06:47Z\\\\\\",\\\\n \\\\\\"expirationDate\\\\\\": \\\\\\"2026-08-09T06:47Z\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"kernelVersion\\\\\\": \\\\\\"v7.0.1.8\\\\\\",\\\\n \\\\\\"releaseDate\\\\\\": \\\\\\"2023-05-25T06:56Z\\\\\\",\\\\n \\\\\\"expirationDate\\\\\\": \\\\\\"2026-05-25T06:56Z\\\\\\"\\\\n }\\\\n ]\\\\n }\\\\n]\\\\n\\",\\n \\"Serverless\\": \\"\\\\\\"Serverless\\\\\\": [\\\\n {\\\\n \\\\\\"engineVersion\\\\\\": \\\\\\"6.0\\\\\\",\\\\n \\\\\\"versionInfos\\\\\\": [\\\\n {\\\\n \\\\\\"kernelVersion\\\\\\": \\\\\\"v2.0.0.5\\\\\\",\\\\n \\\\\\"releaseDate\\\\\\": \\\\\\"2023-05-28T07:48Z\\\\\\",\\\\n \\\\\\"expirationDate\\\\\\": \\\\\\"2026-05-28T07:48Z\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"kernelVersion\\\\\\": \\\\\\"v2.0.0.1\\\\\\",\\\\n \\\\\\"releaseDate\\\\\\": \\\\\\"2023-03-27T12:44Z\\\\\\",\\\\n \\\\\\"expirationDate\\\\\\": \\\\\\"2026-03-27T12:44Z\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"kernelVersion\\\\\\": \\\\\\"v1.0.5.1\\\\\\",\\\\n \\\\\\"releaseDate\\\\\\": \\\\\\"2023-02-22T11:39Z\\\\\\",\\\\n \\\\\\"expirationDate\\\\\\": \\\\\\"2026-02-22T11:39Z\\\\\\"\\\\n }\\\\n ]\\\\n }\\\\n]\\"\\n }\\n}","type":"json"}]', 'title' => 'DescribeDBVersionInfos', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBVersionInfos'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBVersionInfos', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DescribeDataBackups' => [ 'summary' => 'Queries a list of backup sets of full backup or point-in-time backup for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get', 'put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '115856', 'abilityTreeNodes' => ['FEATUREgpdbS95BLZ'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gp-bp***************', 'title' => ''], ], [ 'name' => 'BackupId', 'in' => 'query', 'schema' => ['description' => 'The ID of the backup set. If you specify BackupId, the details of the backup set are returned.'."\n" ."\n" .'> You can call the [DescribeDataBackups](~~210093~~) operation to query the information about all backup sets of an instance, including backup set IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => '327329803', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2011-06-01T15:00Z', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end of the time range to query. The end time must be later than the start time. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2011-06-01T16:00Z', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" ."\n" .'* 30'."\n" .'* 50'."\n" .'* 100'."\n" ."\n" .'Default value: 30.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '30', 'example' => '30', 'default' => '30', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. Pages start from page 1. Default value: 1'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2147483647', 'minimum' => '1', 'example' => '1', 'title' => ''], ], [ 'name' => 'DataType', 'in' => 'query', 'schema' => ['description' => 'The backup type. Valid values:'."\n" ."\n" .'* **DATA**: full backup.'."\n" .'* **RESTOREPOI**: point-in-time recovery backup.'."\n" ."\n" .'If you do not specify this parameter, the backup sets of full backup are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DATA', 'title' => ''], ], [ 'name' => 'BackupMode', 'in' => 'query', 'schema' => ['description' => 'The backup mode. Valid values:'."\n" ."\n" .'* Automated'."\n" .'* Manual'."\n" ."\n" .'If you do not specify this parameter, all backup sets are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Automated', 'title' => ''], ], [ 'name' => 'BackupStatus', 'in' => 'query', 'schema' => ['description' => 'The state of the backup set. Valid values:'."\n" ."\n" .'* Success'."\n" .'* Failed'."\n" ."\n" .'If you do not specify this parameter, all backup sets are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Success', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'PageSize' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '3E387971-33A5-5019-AD7F-DC**********', 'title' => ''], 'PageNumber' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'TotalBackupSize' => ['description' => 'The total backup set size. Unit: Byte.', 'type' => 'integer', 'format' => 'int64', 'example' => '1111111111', 'title' => ''], 'Items' => [ 'description' => 'The instance ID.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'DataType' => ['description' => 'The type of the backup. Valid values:'."\n" ."\n" .'* DATA: full backup'."\n" .'* RESTOREPOI: point-in-time backup'."\n", 'type' => 'string', 'example' => 'DATA', 'title' => ''], 'ConsistentTime' => ['description' => '* For full backup, this parameter indicates the point in time at which the data in the data backup file is consistent.'."\n" .'* For point-in-time backup, this parameter indicates that the returned point in time is a timestamp.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1576506856', 'title' => ''], 'BackupStatus' => ['description' => 'The status of the backup set. Valid values:'."\n" ."\n" .'* Success'."\n" .'* Failure'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], 'BackupStartTime' => ['description' => 'The UTC time when the backup started. The time is in the yyyy-MM-ddTHH:mmZ format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2021-12-22T12:00:25Z', 'title' => ''], 'BackupEndTime' => ['description' => 'The UTC time when the backup ended. The time is in the yyyy-MM-ddTHH:mmZ format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2021-12-22T12:01:43Z', 'title' => ''], 'BackupEndTimeLocal' => ['description' => 'The local time when the backup ended. The time is in the yyyy-MM-dd HH:mm:ss format. The time is your local time.'."\n", 'type' => 'string', 'example' => '2021-12-22 20:00:25', 'title' => ''], 'BackupSetId' => ['description' => 'The ID of the backup set.'."\n", 'type' => 'string', 'example' => '1111111111', 'title' => ''], 'BaksetName' => ['description' => 'The name of a point-in-time backup set or the full backup set.'."\n", 'type' => 'string', 'example' => 'adbpgbackup_555*****_20211222200019', 'title' => ''], 'BackupSize' => ['description' => 'The size of the backup file. Unit: bytes.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2167808', 'title' => ''], 'BackupMode' => ['description' => 'The backup mode.'."\n" ."\n" .'Valid values for full backup:'."\n" ."\n" .'* Automated: automatic backup'."\n" .'* Manual: manual backup'."\n" ."\n" .'Valid values for point-in-time backup:'."\n" ."\n" .'* Automated: point-in-time backup after full backup'."\n" .'* Manual: manual point-in-time backup'."\n" .'* Period: point-in-time backup that is triggered by a backup policy'."\n", 'type' => 'string', 'example' => 'Automated', 'title' => ''], 'BackupStartTimeLocal' => ['description' => 'The local time when the backup started. The time is in the yyyy-MM-dd HH:mm:ss format. The time is your local time.'."\n", 'type' => 'string', 'example' => '2011-05-30 03:29:00', 'title' => ''], 'DBInstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'gp-bp**************-master', 'title' => ''], 'BackupMethod' => ['description' => 'The method that is used to generate the backup set. Valid values:'."\n" ."\n" .'* **Logical**: logical backup'."\n" .'* **Physical**: physical backup'."\n" .'* **Snapshot**: snapshot backup', 'type' => 'string', 'example' => 'Physical', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 1,\\n \\"RequestId\\": \\"3E387971-33A5-5019-AD7F-DC**********\\",\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"TotalBackupSize\\": 1111111111,\\n \\"Items\\": [\\n {\\n \\"DataType\\": \\"DATA\\",\\n \\"ConsistentTime\\": 1576506856,\\n \\"BackupStatus\\": \\"Success\\",\\n \\"BackupStartTime\\": \\"2021-12-22T12:00:25Z\\",\\n \\"BackupEndTime\\": \\"2021-12-22T12:01:43Z\\",\\n \\"BackupEndTimeLocal\\": \\"2021-12-22 20:00:25\\",\\n \\"BackupSetId\\": \\"1111111111\\",\\n \\"BaksetName\\": \\"adbpgbackup_555*****_20211222200019\\",\\n \\"BackupSize\\": 2167808,\\n \\"BackupMode\\": \\"Automated\\",\\n \\"BackupStartTimeLocal\\": \\"2011-05-30 03:29:00\\",\\n \\"DBInstanceId\\": \\"gp-bp**************-master\\",\\n \\"BackupMethod\\": \\"Physical\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n 3E387971-33A5-5019-AD7F-DC**********\\n 1\\n 1\\n \\n 2021-12-22 20:01:43\\n gp-bp**************-master\\n 2021-12-22T12:01:43Z\\n Automated\\n 504257536\\n 2021-12-22T12:00:25Z\\n 1640174500000\\n DATA\\n adbpgbackup_555*****_20211222200019\\n 2021-12-22 20:00:25\\n 1111111111\\n Success\\n \\n","errorExample":""}]', 'title' => 'DescribeDataBackups', 'description' => 'You can call this operation to query a list of backup sets and backup details only for instances in elastic storage mode.'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2024-08-29T14:29:36.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-08-17T11:20:15.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDataBackups'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDataBackups', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeDataReDistributeInfo' => [ 'summary' => 'Queries the data redistribution information about an AnalyticDB for PostgreSQL V6.0 instance in elastic storage mode.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbY0U80Q'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances within a region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'DataReDistributeInfo' => [ 'description' => 'The data redistribution information.'."\n", 'type' => 'object', 'properties' => [ 'Type' => ['description' => 'The execution type. The value **immediate** is returned, indicating immediate execution.'."\n", 'type' => 'string', 'example' => 'immediate', 'title' => ''], 'StartTime' => ['description' => 'This parameter is not supported.'."\n", 'type' => 'string', 'example' => 'null', 'title' => ''], 'Progress' => ['description' => 'The progress of data redistribution. Unit: %.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '33', 'title' => ''], 'RemainTime' => ['description' => 'The estimated remaining time for data redistribution.'."\n", 'type' => 'string', 'example' => '00:01:28', 'title' => ''], 'Message' => ['description' => 'The execution information. If an error occurs, the error message is returned.'."\n", 'type' => 'string', 'example' => 'redistributing', 'title' => ''], 'Status' => ['description' => 'The status of data redistribution.'."\n", 'type' => 'string', 'example' => 'RUNNING', 'title' => ''], ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '04836A02-ADC9-1AA7-AC36-DE5E048BF505', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"type":"json","example":"{\\n \\"DataReDistributeInfo\\": {\\n \\"Type\\": \\"immediate\\",\\n \\"StartTime\\": \\"null\\",\\n \\"Progress\\": 33,\\n \\"RemainTime\\": \\"00:01:28\\",\\n \\"Message\\": \\"redistributing\\",\\n \\"Status\\": \\"RUNNING\\"\\n },\\n \\"RequestId\\": \\"04836A02-ADC9-1AA7-AC36-DE5E048BF505\\"\\n}","errorExample":""},{"type":"xml","example":"\\n \\n immediate\\n 33\\n 00:01:28\\n redistributing\\n RUNNING\\n \\n 04836A02-ADC9-1AA7-AC36-DE5E048BF505\\n","errorExample":""}]', 'title' => 'DescribeDataReDistributeInfo', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDataReDistributeInfo'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDataReDistributeInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], ], ], 'DescribeDataShareInstances' => [ 'summary' => 'Queries the status of data sharing for AnalyticDB for PostgreSQL instances.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '119452', 'abilityTreeNodes' => ['FEATUREgpdbZCLM02'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'The ID of the resource group to which the instance belongs. For information about how to obtain the ID of a resource group, see [View basic information of a resource group](~~151181~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-bp67acfmxazb4p****', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'SearchValue', 'in' => 'query', 'schema' => ['description' => 'The keyword used to filter instances, which can be an instance ID or instance description.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs and instance descriptions.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-bp***************', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" ."\n" .'* **30**'."\n" .'* **50**'."\n" .'* **100**'."\n" ."\n" .'Default value: 30.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'default' => '30', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. Pages start from page 1. Default value: 1.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'TotalRecordCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageRecordCount' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D5**********', 'title' => ''], 'PageNumber' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Items' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DBInstance' => [ 'description' => 'The state of data sharing. Valid values:'."\n" ."\n" .'* **opening**'."\n" .'* **opened**'."\n" .'* **closing**'."\n" .'* **closed**'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'RegionId' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'ZoneId' => ['description' => 'The zone ID of the instance.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou-j', 'title' => ''], 'DBInstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'gp-bp***************', 'title' => ''], 'DBInstanceMode' => ['description' => 'The resource type of the instance. Valid values:'."\n" ."\n" .'* **Serverless**: Serverless mode'."\n" .'* **StorageElasic**: elastic storage mode'."\n" .'* **Classic**: reserved storage mode'."\n", 'type' => 'string', 'example' => 'Serverless', 'title' => ''], 'Description' => ['description' => 'The description of the instance.'."\n", 'type' => 'string', 'example' => 'gp-bp***************', 'title' => ''], 'DataShareStatus' => ['description' => 'The state of data sharing. Valid values:'."\n" ."\n" .'* **opening**: Data sharing is being enabled.'."\n" .'* **opened**: Data sharing is enabled.'."\n" .'* **closing**: Data sharing is being disabled.'."\n" .'* **closed**: Data sharing is disabled.'."\n", 'type' => 'string', 'example' => 'opened', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalRecordCount\\": 1,\\n \\"PageRecordCount\\": 1,\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D5**********\\",\\n \\"PageNumber\\": 1,\\n \\"Items\\": {\\n \\"DBInstance\\": [\\n {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ZoneId\\": \\"cn-hangzhou-j\\",\\n \\"DBInstanceId\\": \\"gp-bp***************\\",\\n \\"DBInstanceMode\\": \\"Serverless\\",\\n \\"Description\\": \\"gp-bp***************\\",\\n \\"DataShareStatus\\": \\"opened\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n 1\\n B4CAF581-2AC7-41AD-8940-D5**********\\n 1\\n \\n cn-hangzhou\\n cn-hangzhou-j\\n gp-bp***************\\n Serverless\\n gp-bp***************\\n opened\\n \\n","errorExample":""}]', 'title' => 'DescribeDataShareInstances', 'description' => 'Data sharing is supported only for instances in Serverless mode.'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataShareInstances'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDataShareInstances', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DescribeDataSharePerformance' => [ 'summary' => 'Queries the performance metrics of data sharing.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '132211', 'abilityTreeNodes' => ['FEATUREgpdbZCLM02'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], [ 'name' => 'Key', 'in' => 'query', 'schema' => ['description' => 'The name of the performance metric. To specify multiple metrics, separate the metric names with a comma (,). Valid values:'."\n" ."\n" .'- **adbpg\\_datashare\\_topic\\_count**: the number of shared topics.'."\n" ."\n" .'- **adbpg\\_datashare\\_data\\_size\\_mb**: the size of shared data in MB.', 'type' => 'string', 'required' => true, 'example' => 'adbpg_datashare_topic_count', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The start of the time range to query. The time must be in UTC and in the *yyyy-MM-dd*T*HH:mm*Z format.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2022-08-03T15:00Z', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end of the time range to query. The time must be later than the start time, in UTC, and in the *y**\\*\\*\\*\\***d*T*HH:mm*Z format.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2022-08-03T15:10Z', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the available region IDs.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'EndTime' => ['description' => 'The end of the queried time range.', 'type' => 'string', 'example' => '2022-08-03T15:10Z', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'BBE00C04-A3E8-4114-881D-0480A72CB92E', 'title' => ''], 'StartTime' => ['description' => 'The start of the queried time range.', 'type' => 'string', 'example' => '2022-08-03T15:00Z', 'title' => ''], 'DBClusterId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], 'PerformanceKeys' => [ 'description' => 'The list of performance metrics.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Name' => ['description' => 'The name of the performance metric.', 'type' => 'string', 'example' => 'adbpg_datashare_topic_count', 'title' => ''], 'Unit' => ['description' => 'The unit of the performance metric.', 'type' => 'string', 'example' => 'int', 'title' => ''], 'Series' => [ 'description' => 'The details of the time series data for the metric.', 'type' => 'array', 'items' => [ 'description' => 'A time series.', 'type' => 'object', 'properties' => [ 'Values' => [ 'description' => 'The data points of the time series.', 'type' => 'array', 'items' => [ 'description' => 'A data point.', 'type' => 'object', 'properties' => [ 'Point' => [ 'description' => 'An array that contains the timestamp and the corresponding metric value.', 'type' => 'array', 'items' => ['description' => 'A string that contains a timestamp and its corresponding metric value, separated by a comma.', 'type' => 'string', 'example' => '2022-08-03T07:01:00+08:00, 5.00', 'title' => ''], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'Name' => ['description' => 'The name of the performance metric.', 'type' => 'string', 'example' => 'adbpg_datashare_topic_count', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => 'The details of a performance metric.', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2022-08-03T15:10Z\\",\\n \\"RequestId\\": \\"BBE00C04-A3E8-4114-881D-0480A72CB92E\\",\\n \\"StartTime\\": \\"2022-08-03T15:00Z\\",\\n \\"DBClusterId\\": \\"gp-bp12ga6v69h86****\\",\\n \\"PerformanceKeys\\": [\\n {\\n \\"Name\\": \\"adbpg_datashare_topic_count\\",\\n \\"Unit\\": \\"int\\",\\n \\"Series\\": [\\n {\\n \\"Values\\": [\\n {\\n \\"Point\\": [\\n \\"2022-08-03T07:01:00+08:00, 5.00\\"\\n ]\\n }\\n ],\\n \\"Name\\": \\"adbpg_datashare_topic_count\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', 'title' => 'View performance metrics for data sharing ', 'description' => 'Only serverless instances support the data sharing feature.', 'changeSet' => [ ['createdAt' => '2023-08-02T11:02:23.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-04-15T09:17:56.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDataSharePerformance'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDataSharePerformance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'manual', ], 'DescribeDatabase' => [ 'summary' => 'Describes the basic information about an AnalyticDB for PostgreSQL database.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '239723', 'abilityTreeNodes' => ['FEATUREgpdbQ0N7UN'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'DatabaseName', 'in' => 'query', 'schema' => ['description' => 'The name of the database that you want to query.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test01', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of response.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521'], 'DBInstanceId' => ['description' => 'The cluster ID.'."\n", 'type' => 'string', 'example' => 'gp-xxxxxxxxx', 'title' => ''], 'DatabaseName' => ['description' => 'The database name.'."\n" ."\n" .'* Only contain letters, digits, and underscores (\\_).'."\n" .'* Must start with a letter.'."\n" .'* Up to 63 characters in length.'."\n", 'type' => 'string', 'example' => 'test01', 'title' => ''], 'Description' => ['description' => 'The database comment.'."\n", 'type' => 'string', 'example' => 'A user management database storing customer profiles.', 'title' => ''], 'CharacterSetName' => ['description' => 'The character set.'."\n" ."\n" .'For more information about the value range, see Document https://www.postgresql.org/docs/current/multibyte.html.'."\n", 'type' => 'string', 'example' => 'UTF8', 'title' => ''], 'Collate' => ['description' => 'Database locale parameter that specifies string comparison and sorting rules.'."\n" ."\n" .'> '."\n" ."\n" .'* The locale must be compatible with the character set specified by the CharacterSetName parameter.'."\n" ."\n" .'* Collate: You can query available collations using the command SELECT DISTINCT collname FROM pg_collation;. If not specified, the default value is en_US.utf8.'."\n", 'type' => 'string', 'example' => 'en_US.utf8', 'title' => ''], 'Ctype' => ['description' => 'Database locale parameter that specifies character classification and case conversion rules.'."\n" ."\n" .'> '."\n" ."\n" .'* The locale must be compatible with the character set specified by the CharacterSetName parameter.'."\n" ."\n" .'* You can execute the SELECT DISTINCT collctype FROM pg_collation; statement to obtain the field value. The default value is en_US.utf8.'."\n", 'type' => 'string', 'example' => 'en_US.utf8', 'title' => ''], 'ConnLimit' => ['description' => 'Limits the number of concurrent connections. -1 indicates unlimited.'."\n", 'type' => 'string', 'example' => '-1', 'title' => ''], 'TableSpace' => ['description' => 'The database tablespace.'."\n", 'type' => 'string', 'example' => 'pg_default', 'title' => ''], 'Size' => ['description' => 'The database size.'."\n", 'type' => 'string', 'example' => '2000 MB', 'title' => ''], 'AccessPrivilege' => ['description' => 'The permission control information.'."\n", 'type' => 'string', 'example' => '=Tc/test_001\\ntest_001=CTc/test_001', 'title' => ''], 'Owner' => ['description' => 'The owner of the table.'."\n" ."\n" .'* Contain lowercase letters, digits, and underscores (\\_).'."\n" .'* Must start with a lowercase letter and end with a lowercase letter or a digit.'."\n" .'* Cannot start with gp.'."\n" .'* Must be 2 to 16 characters in length.'."\n", 'type' => 'string', 'example' => 'testadb', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"DBInstanceId\\": \\"gp-xxxxxxxxx\\",\\n \\"DatabaseName\\": \\"test01\\",\\n \\"Description\\": \\"A user management database storing customer profiles.\\",\\n \\"CharacterSetName\\": \\"UTF8\\",\\n \\"Collate\\": \\"en_US.utf8\\",\\n \\"Ctype\\": \\"en_US.utf8\\",\\n \\"ConnLimit\\": \\"-1\\",\\n \\"TableSpace\\": \\"pg_default\\",\\n \\"Size\\": \\"2000 MB\\",\\n \\"AccessPrivilege\\": \\"=Tc/test_001\\\\\\\\ntest_001=CTc/test_001\\",\\n \\"Owner\\": \\"testadb\\"\\n}","type":"json"}]', 'title' => 'DescribeDatabase', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDatabase', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'manual', ], 'DescribeDiagnosisDimensions' => [ 'summary' => 'Queries all databases and database accounts of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '9ADCAACA-E0E8-5319-AE3B-E260E957BDF9', 'title' => ''], 'Databases' => [ 'description' => 'The names of the databases.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'acc_001', 'title' => ''], 'title' => '', 'example' => '', ], 'UserNames' => [ 'description' => 'The names of the database accounts.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'example' => 'acc_001', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9ADCAACA-E0E8-5319-AE3B-E260E957BDF9\\",\\n \\"Databases\\": [\\n \\"acc_001\\"\\n ],\\n \\"UserNames\\": [\\n \\"acc_001\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n acc_001\\n user_test\\n 9ADCAACA-E0E8-5319-AE3B-E260E957BDF9\\n acc_001\\n","errorExample":""}]', 'title' => 'DescribeDiagnosisDimensions', 'changeSet' => [ ['createdAt' => '2022-06-22T11:57:47.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDiagnosisDimensions'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDiagnosisDimensions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'description' => 'To facilitate management, you can call this operation to query all databases and database accounts on an AnalyticDB for PostgreSQL instance.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', ], 'DescribeDiagnosisMonitorPerformance' => [ 'summary' => 'Queries the details of query execution on an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-05-07T06:59Z', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC. The end time must be later than the start time.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-05-07T07:59Z', 'title' => ''], ], [ 'name' => 'User', 'in' => 'query', 'schema' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'required' => false, 'example' => 'adbpguser', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'adbtest', 'title' => ''], ], [ 'name' => 'QueryCondition', 'in' => 'query', 'schema' => ['description' => 'The filter condition on queries. Specify the value in the JSON format. Valid values:'."\n" ."\n" .'* `{"Type":"maxCost", "Value":"100"}`: filters the top 100 queries that are the most time-consuming.'."\n" ."\n" .'* `{"Type":"status","Value":"finished"}`: filters completed queries.'."\n" ."\n" .'* `{"Type":"status","Value":"running"}`: filters running queries.'."\n" ."\n" .'* `{"Type":"cost","Min":"30","Max":"50"}`: filters the queries that consume 30 milliseconds or more and less than 50 milliseconds. You can customize a filter condition by setting **Min** and **Max**.'."\n" ."\n" .' * If only **Min** is specified, the queries that consume a period of time that is greater than or equal to the Min value are filtered.'."\n" .' * If only **Max** is specified, the queries that consume a period of time that is less than the Max value are filtered.'."\n" .' * If both **Min** and **Max** are specified, the queries that consume a period of time that is greater than or equal to the **Min** value and less than the **Max** value are filtered.'."\n", 'type' => 'string', 'required' => false, 'example' => '{"Type":"maxCost", "Value":"100"}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Performances' => [ 'description' => 'Details of query execution.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'QueryID' => ['description' => 'The ID of the query. It is a unique identifier of the query.'."\n", 'type' => 'string', 'example' => '2022042612465401000000012903151998970', 'title' => ''], 'StartTime' => ['description' => 'The start time of the query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1651877940000', 'title' => ''], 'Cost' => ['description' => 'The execution duration of the query. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Status' => ['description' => 'The execution state of the query. Valid values:'."\n" ."\n" .'* **running**: The query is being executed.'."\n" .'* **finished**: The query is complete.'."\n", 'type' => 'string', 'example' => 'finished', 'title' => ''], 'User' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'example' => 'adbpguser', 'title' => ''], 'Database' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'adbtest', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'PerformancesThreshold' => ['description' => 'The threshold for the number of queries.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10000', 'title' => ''], 'PerformancesTruncated' => ['description' => 'Indicates whether the queries are truncated when the number of queries exceeds the threshold. Valid values:'."\n" ."\n" .'* **true**: The queries are truncated.'."\n" .'* **false**: The queries are not truncated.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Performances\\": [\\n {\\n \\"QueryID\\": \\"2022042612465401000000012903151998970\\",\\n \\"StartTime\\": 1651877940000,\\n \\"Cost\\": 1,\\n \\"Status\\": \\"finished\\",\\n \\"User\\": \\"adbpguser\\",\\n \\"Database\\": \\"adbtest\\"\\n }\\n ],\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"PerformancesThreshold\\": 10000,\\n \\"PerformancesTruncated\\": false\\n}","errorExample":""},{"type":"xml","example":"\\n \\n 2022042612465401000000012903151998970\\n 1651877940000\\n 1\\n finished\\n adbpguser\\n adbtest\\n \\n B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\n 10000\\n false\\n","errorExample":""}]', 'title' => 'DescribeDiagnosisMonitorPerformance', 'changeSet' => [ ['createdAt' => '2022-06-22T11:57:47.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDiagnosisMonitorPerformance'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDiagnosisMonitorPerformance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'description' => '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.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', ], 'DescribeDiagnosisRecords' => [ 'summary' => 'Queries the information about SQL queries for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" ."\n" .'* **30**'."\n" .'* **50**'."\n" .'* **100**'."\n" ."\n" .'Default value: **30**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. Pages start from page 1. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-05-07T06:59Z', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC. The end time must be later than the start time.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-05-07T07:59Z', 'title' => ''], ], [ 'name' => 'User', 'in' => 'query', 'schema' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'required' => false, 'example' => 'adbpguser', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'adbtest', 'title' => ''], ], [ 'name' => 'QueryCondition', 'in' => 'query', 'schema' => ['description' => 'The filter condition on queries. Specify the value in the JSON format. Valid values:'."\n" ."\n" .'* `{"Type":"maxCost", "Value":"100"}`: filters the top 100 queries that are the most time-consuming.'."\n" ."\n" .'* `{"Type":"status","Value":"finished"}`: filters completed queries.'."\n" ."\n" .'* `{"Type":"status","Value":"running"}`: filters running queries.'."\n" ."\n" .'* `{"Type":"cost","Min":"30","Max":"50"}`: filters the queries that consume a period of 30 milliseconds to less than 50 milliseconds. You can customize a filter condition by setting **Min** and **Max**.'."\n" ."\n" .' * If only **Min** is specified, the queries that consume a period of time that is greater than the Min value are filtered.'."\n" .' * If only **Max** is specified, the queries that consume a period of time that is less than the Max value are filtered.'."\n" .' * If both **Min** and **Max** are specified, the queries that consume a period of time that is greater than or equal to the **Min** value and less than or equal to the **Max** value are filtered.'."\n", 'type' => 'string', 'required' => false, 'example' => '{ "Type":"maxCost", "Value":"100" }', 'title' => ''], ], [ 'name' => 'Keyword', 'in' => 'query', 'schema' => ['description' => 'The keyword of the SQL statement.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SELECT', 'title' => ''], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['description' => 'The order of fields in the console. You do not need to specify this parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Items' => [ 'description' => 'The threshold that determines whether the SQL statement must be truncated. The value is the number of characters.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'QueryID' => ['description' => 'The ID of the query. It is a unique identifier of the query.'."\n", 'type' => 'string', 'example' => '2022042612465401000000012903151998970', 'title' => ''], 'SessionID' => ['description' => 'The ID of the session that contains the query.'."\n", 'type' => 'string', 'example' => '50', 'title' => ''], 'StartTime' => ['description' => 'The start time of the query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1651877940000', 'title' => ''], 'Duration' => ['description' => 'The execution duration of the query. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Status' => ['description' => 'The execution state of the query. Valid values:'."\n" ."\n" .'* **running**: The query is being executed.'."\n" .'* **finished**: The query is complete.'."\n", 'type' => 'string', 'example' => 'finished', 'title' => ''], 'SQLStmt' => ['description' => 'The SQL statement.'."\n", 'type' => 'string', 'example' => 'SELECT * FROM t1,t2 WHERE t1.id=t2.id;', 'title' => ''], 'User' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'example' => 'adbpguser', 'title' => ''], 'Database' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'adbtest', 'title' => ''], 'SQLTruncated' => ['description' => 'Indicates whether the SQL statement needs to be truncated. Valid values:'."\n" ."\n" .'* **true**: The SQL statement needs to be truncated.'."\n" .'* **false**: The SQL statement does not need to be truncated.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], 'SQLTruncatedThreshold' => ['description' => 'The threshold used to determine whether an SQL statement must be truncated. The value is the number of characters.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5120', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], 'PageNumber' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Items\\": [\\n {\\n \\"QueryID\\": \\"2022042612465401000000012903151998970\\",\\n \\"SessionID\\": \\"50\\",\\n \\"StartTime\\": 1651877940000,\\n \\"Duration\\": 1,\\n \\"Status\\": \\"finished\\",\\n \\"SQLStmt\\": \\"SELECT * FROM t1,t2 WHERE t1.id=t2.id;\\",\\n \\"User\\": \\"adbpguser\\",\\n \\"Database\\": \\"adbtest\\",\\n \\"SQLTruncated\\": false,\\n \\"SQLTruncatedThreshold\\": 5120\\n }\\n ],\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"TotalCount\\": 100,\\n \\"PageNumber\\": 1\\n}","errorExample":""},{"type":"xml","example":"\\n \\n 2022042612465401000000012903151998970\\n 50\\n 1651877940000\\n 1\\n finished\\n SELECT * FROM t1,t2 WHERE t1.id=t2.id;\\n adbpguser\\n adbtest\\n false\\n 5120\\n \\n B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\n 100\\n 1\\n","errorExample":""}]', 'title' => 'DescribeDiagnosisRecords', 'changeSet' => [ ['createdAt' => '2022-06-22T11:57:47.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDiagnosisRecords'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDiagnosisRecords', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'description' => 'You can call this operation to query the details of SQL queries on an AnalyticDB for PostgreSQL instance within a specified time range.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', ], 'DescribeDiagnosisSQLInfo' => [ 'summary' => 'Queries the information about a query for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query details about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'QueryID', 'in' => 'query', 'schema' => ['description' => 'The query ID. It is a unique identifier of the query.'."\n" ."\n" .'> You can call the [DescribeDiagnosisRecords](~~450511~~) operation to obtain query IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => '71403480878****', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'adbtest', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '425AAA6A-63E0-1929-A1CE-3D9036CBC463', 'title' => ''], 'QueryID' => ['description' => 'The query ID.'."\n", 'type' => 'string', 'example' => '71403480878****', 'title' => ''], 'SessionID' => ['description' => 'The ID of the session that contains the query.'."\n", 'type' => 'string', 'example' => '658****', 'title' => ''], 'StartTime' => ['description' => 'The start time of the query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1660719602199', 'title' => ''], 'Duration' => ['description' => 'The execution duration of the query. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '16', 'title' => ''], 'SQLStmt' => ['description' => 'The SQL statement.'."\n", 'type' => 'string', 'example' => 'select n_live_tup, n_live_tup + n_dead_tup, pg_relation_size(table_name), last_vacuum from pg_stat_user_tables where relid = table_name::regclass', 'title' => ''], 'User' => ['description' => 'The username.'."\n", 'type' => 'string', 'example' => 'adbpguser', 'title' => ''], 'Database' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'adbtest', 'title' => ''], 'Status' => ['description' => 'The execution state of the query. Valid values:'."\n" ."\n" .'* **running**'."\n" .'* **finished**'."\n", 'type' => 'string', 'example' => 'finished', 'title' => ''], 'QueryPlan' => ['description' => 'The information about the operator.'."\n", 'type' => 'string', 'example' => '{\\"children\\":********\\"startTime\\":1660719602199}', 'title' => ''], 'TextPlan' => ['description' => 'The information about the execution plan.'."\n", 'type' => 'string', 'example' => '******', 'title' => ''], 'SortedMetrics' => ['description' => 'The sequence of metrics.'."\n", 'type' => 'string', 'example' => '{\\"costSort\\":******:\\"Seq Scan-9\\",\\"value\\":0.0}]}', 'title' => ''], 'MaxOutputRows' => ['description' => 'The maximum number of output rows.'."\n", 'type' => 'string', 'example' => '10', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"425AAA6A-63E0-1929-A1CE-3D9036CBC463\\",\\n \\"QueryID\\": \\"71403480878****\\",\\n \\"SessionID\\": \\"658****\\",\\n \\"StartTime\\": 1660719602199,\\n \\"Duration\\": 16,\\n \\"SQLStmt\\": \\"select n_live_tup, n_live_tup + n_dead_tup, pg_relation_size(table_name), last_vacuum from pg_stat_user_tables where relid = table_name::regclass\\",\\n \\"User\\": \\"adbpguser\\",\\n \\"Database\\": \\"adbtest\\",\\n \\"Status\\": \\"finished\\",\\n \\"QueryPlan\\": \\"{\\\\\\\\\\\\\\"children\\\\\\\\\\\\\\":********\\\\\\\\\\\\\\"startTime\\\\\\\\\\\\\\":1660719602199}\\",\\n \\"TextPlan\\": \\"******\\",\\n \\"SortedMetrics\\": \\"{\\\\\\\\\\\\\\"costSort\\\\\\\\\\\\\\":******:\\\\\\\\\\\\\\"Seq Scan-9\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":0.0}]}\\",\\n \\"MaxOutputRows\\": \\"10\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 200\\n \\n finished\\n {\\"costSort\\":******:\\"Seq Scan-9\\",\\"value\\":0.0}]}\\n select n_live_tup, n_live_tup + n_dead_tup, pg_relation_size(table_name), last_vacuum\\n from pg_stat_user_tables\\n where relid = table_name::regclass\\n adbpguser\\n 425AAA6A-63E0-1929-A1CE-3D9036CBC463\\n 71403480878****\\n 1660719602199\\n 16\\n {\\"children\\":********\\"startTime\\":1660719602199}\\n ******\\n 10\\n adbtest\\n 658****\\n \\n 200\\n 425AAA6A-63E0-1929-A1CE-3D9036CBC463\\n true\\n","errorExample":""}]', 'title' => 'DescribeDiagnosisSQLInfo', 'description' => '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.'."\n" ."\n" .'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~~).'."\n", 'responseParamsDescription' => 'The following table describes the **QueryPlan** parameter.'."\n" ."\n" .'|Parameter|Type|Example|Description|'."\n" .'|---|---|---|---|'."\n" .'|OpertorID|Integer|1|The ID of the operator in the execution plan.|'."\n" .'|OperatorTypeID|integer|10|The type ID of the operator.|'."\n" .'|OperatorType|String|AGG|The type of the operator.|'."\n" .'|OperatorName|String|AGG-1|The name of the operator.|'."\n" .'|NodeWidth|Integer|1|The horizontal position of the node at the current level of the execution plan tree. The value of this parameter starts from 1.|'."\n" .'|NodeDepth|Integer|2|The depth of the node in the execution plan tree. The value of this parameter starts from 1.|'."\n" .'|LevelWidth|Integer|1|The total width of the level where the node resides in the execution plan tree. The value of this parameter starts from 1.|'."\n" .'|MaxDepth|Integer|2|The maximum depth of the execution plan tree. The value of this parameter starts from 1 and is supported only for the root node.|'."\n" .'|OutputRows|Integer|10|The number of rows output by the operator during query execution.|'."\n" .'|InputRows|Integer|1000|The number of rows input by the operator during query execution.|'."\n" .'|Memory|Float|100|The amount of memory used by the operator. Unit: KB.|'."\n" .'|StartTime|String|1652843003000|The execution start time of the operator.|'."\n" .'|EndTime|String|1652843003100|The execution end time of the operator.|'."\n" .'|Duration|Float|6|The execution duration of the operator. Unit: milliseconds.|'."\n" .'|DiskReadSize|Float|55|The amount of data that was read by the operator from disks. Unit: bytes.|'."\n" .'|DiskReadTime|Float|0.1|The amount of time consumed for the operator to read data from disks. Unit: milliseconds.|'."\n" .'|NetIOSize|Float|3000|The amount of data transmitted across nodes. Unit: bytes.|'."\n" .'|NetIOTime|Float|0.1|The amount of time consumed to transmit data across nodes. Unit: milliseconds.|'."\n" .'|MemoryPercent|Float|20.11|The percentage of the memory used by the operator.|'."\n" .'|DurationPercent|Float|16.11|The percentage of the execution duration of the operator.|'."\n" .'|DiskReadSizePercent|Float|55.11|The percentage of the amount of data that the operator reads from disks.|'."\n" .'|DiskReadTimePercent|Float|11.11|The percentage of the amount of time consumed by the operator to read data from disks.|'."\n" .'|NetIOSizePercent|Float|30.11|The percentage of the amount of data transmitted across nodes.|'."\n" .'|NetIOTimePercent|Float|11.11|The percentage of the amount of time consumed to transmit data across nodes.|'."\n" .'|Children|Operator structure|Recursive structure|The child node operator. The structure of a child node operator is the same as that of its parent node operator. The value of this parameter is null for the lowest-level child nodes.|', 'changeSet' => [ ['createdAt' => '2022-06-22T11:57:47.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDiagnosisSQLInfo'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDiagnosisSQLInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeDocument' => [ 'summary' => 'Queries the information about a document.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '198056', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace. Default value: public.'."\n" ."\n" .'> You can call the [CreateNamespace](~~2401495~~) operation to create a namespace and call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password of the namespace.'."\n" ."\n" .'> The value of this parameter is specified when you call the [CreateNamespace](~~2401495~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the document collection.'."\n" ."\n" .'> You can call the [CreateDocumentCollection](~~2618448~~) operation to create a document collection. and call the [ListDocumentCollections](~~2618452~~) operation to query a list of document collections.'."\n", 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'FileName', 'in' => 'query', 'schema' => ['description' => 'The name of the document.'."\n" ."\n" .'> You can call the [ListDocuments](~~2618453~~) operation to query a list of documents.'."\n", 'type' => 'string', 'required' => true, 'example' => 'music.txt', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'FileName' => ['description' => 'The name of the document.'."\n", 'type' => 'string', 'example' => 'music.txt', 'title' => ''], 'FileExt' => ['description' => 'The extension of the document.'."\n", 'type' => 'string', 'example' => 'txt', 'title' => ''], 'FileVersion' => ['description' => 'The version of the document. This value increments by 1 each time the same document is uploaded.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'FileMtime' => ['description' => 'The time when the document was last modified.'."\n", 'type' => 'string', 'example' => '2023-11-01 10:01:01.123456', 'title' => ''], 'Source' => ['description' => 'The source of the document.'."\n", 'type' => 'string', 'example' => 'OSS'."\n", 'title' => ''], 'DocumentLoader' => ['description' => 'The name of the document loader.'."\n", 'type' => 'string', 'example' => 'RapidOCRPDFLoader', 'title' => ''], 'TextSplitter' => ['description' => 'The name of the document splitter.'."\n", 'type' => 'string', 'example' => 'ChineseRecursiveTextSplitter', 'title' => ''], 'FileSize' => ['description' => 'The size of the document. Unit: bytes.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'title' => ''], 'FileMd5' => ['description' => 'The MD5 hash of the document.'."\n", 'type' => 'string', 'example' => 'b8078c9591413550f8963e37e24abcea', 'title' => ''], 'DocsCount' => ['description' => 'The number of chunks into which the document is splitted.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], 'FileUrl' => ['description' => 'The download URL of the document. The validity period of the URL is 2 hours.'."\n", 'type' => 'string', 'example' => 'http://oss.xxx/music.txt', 'title' => ''], 'PlainChunkFileUrl' => ['description' => 'The URL of the TEXT that does not contain metadata after chunking. Each line is a chunk. The validity period of the URL is 2 hours.'."\n", 'type' => 'string', 'example' => 'http://oss.xxx/music_plain_chunk.txt', 'title' => ''], 'ChunkFileUrl' => ['description' => 'The URL of the file after chunking. The validity period of the URL is 2 hours. The file is in the JSONL format. Each line is in the `{"page_content":"*****", "metadata": {"**":"***","**":"***"}` format.'."\n", 'type' => 'string', 'example' => 'http://oss.xxx/music_chunk.jsonl', 'title' => ''], 'DocumentLoaderResultFileUrl' => ['description' => 'The markdown output file that is generated by the ADBPGLoader. The validity period is 2 hours.'."\n", 'type' => 'string', 'example' => 'http://oss.xxx/adbpg_loader_result.md', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"FileName\\": \\"music.txt\\",\\n \\"FileExt\\": \\"txt\\",\\n \\"FileVersion\\": 1,\\n \\"FileMtime\\": \\"2023-11-01 10:01:01.123456\\",\\n \\"Source\\": \\"OSS\\\\n\\",\\n \\"DocumentLoader\\": \\"RapidOCRPDFLoader\\",\\n \\"TextSplitter\\": \\"ChineseRecursiveTextSplitter\\",\\n \\"FileSize\\": 10000,\\n \\"FileMd5\\": \\"b8078c9591413550f8963e37e24abcea\\",\\n \\"DocsCount\\": 100,\\n \\"FileUrl\\": \\"http://oss.xxx/music.txt\\",\\n \\"PlainChunkFileUrl\\": \\"http://oss.xxx/music_plain_chunk.txt\\",\\n \\"ChunkFileUrl\\": \\"http://oss.xxx/music_chunk.jsonl\\",\\n \\"DocumentLoaderResultFileUrl\\": \\"http://oss.xxx/adbpg_loader_result.md\\"\\n}","type":"json"}]', 'title' => 'DescribeDocument', 'changeSet' => [ ['createdAt' => '2025-07-30T13:43:25.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2024-07-03T08:14:12.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDocument'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DescribeDocument', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'DescribeDownloadRecords' => [ 'summary' => 'Queries the download records for query diagnostic information for AnalyticDB for PostgreSQL.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.', 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'DownloadTaskType', 'in' => 'query', 'schema' => ['description' => 'The download task type. Valid values:'."\n" ."\n" .'- `SQL_DIAGNOSE`: SQL diagnosis.'."\n" ."\n" .'- `SLOW_SQL`: slow SQL query.', 'type' => 'string', 'required' => false, 'example' => 'SLOW_SQL', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Records' => [ 'description' => 'An array of download records.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'DownloadId' => ['description' => 'The ID of the download record.', 'type' => 'integer', 'format' => 'int64', 'example' => '1150', 'title' => ''], 'ExceptionMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Error message', 'title' => ''], 'FileName' => ['description' => 'The file name.', 'type' => 'string', 'example' => '20220509113448-20220509173448.csv', 'title' => ''], 'Status' => ['description' => 'The status of the task that uploads the query diagnostic information file to Object Storage Service (OSS). You can download the file after the upload is complete. Valid values:'."\n" ."\n" .'- **running**: The file is being uploaded.'."\n" ."\n" .'- **finished**: The file upload is complete.'."\n" ."\n" .'- **failed**: The file upload failed.', 'type' => 'string', 'example' => 'finished', 'title' => ''], 'DownloadUrl' => ['description' => 'The download URL.', 'type' => 'string', 'example' => 'https://perth-download-task.oss-cn-beijing.aliyuncs.com/*****', 'title' => ''], ], 'description' => 'The details of a download record.', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], ], 'description' => 'The response object.', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Records\\": [\\n {\\n \\"DownloadId\\": 1150,\\n \\"ExceptionMsg\\": \\"Error message\\",\\n \\"FileName\\": \\"20220509113448-20220509173448.csv\\",\\n \\"Status\\": \\"finished\\",\\n \\"DownloadUrl\\": \\"https://perth-download-task.oss-cn-beijing.aliyuncs.com/*****\\"\\n }\\n ],\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","type":"json"}]', 'title' => 'DescribeDownloadRecords', 'description' => 'To view download records, you must first call the [DownloadDiagnosisRecords](~~447700~~) operation to download the query diagnostic information.'."\n" ."\n" .'This feature is available only for storage-elastic instances that run kernel minor version V6.3.10.1 or later. For more information about how to view and update the kernel minor version, see [View the kernel minor version](~~277424~~) and [Upgrade the kernel version](~~139271~~).', 'changeSet' => [ ['createdAt' => '2025-03-18T12:39:55.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-06-22T11:57:47.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDownloadRecords'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDownloadRecords', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'manual', ], 'DescribeDownloadSQLLogs' => [ 'summary' => 'Queries the last five download records of slow query logs for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) API to view details of all AnalyticDB for PostgreSQL instances in the target region, including the instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Records' => [ 'description' => 'List of download records.', 'type' => 'array', 'items' => [ 'description' => 'List of download records.', 'type' => 'object', 'properties' => [ 'DownloadId' => ['description' => 'Download record ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1150', 'title' => ''], 'ExceptionMsg' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'Error message', 'title' => ''], 'FileName' => ['description' => 'File name.', 'type' => 'string', 'example' => '20220509113448-20220509173448.csv', 'title' => ''], 'Status' => ['description' => 'Task status, with possible values being:'."\n" .'- **running**: Downloading.'."\n" .'- **finished**: Completed.'."\n" .'- **failed**: Download failed.', 'type' => 'string', 'example' => 'finished', 'title' => ''], 'DownloadUrl' => ['description' => 'Download link.', 'type' => 'string', 'example' => 'https://perth-download-task.oss-cn-beijing.aliyuncs.com/*****', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'FDE9942A-D919-527B-B559-5D0F6F20CCEC', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Records\\": [\\n {\\n \\"DownloadId\\": 1150,\\n \\"ExceptionMsg\\": \\"Error message\\",\\n \\"FileName\\": \\"20220509113448-20220509173448.csv\\",\\n \\"Status\\": \\"finished\\",\\n \\"DownloadUrl\\": \\"https://perth-download-task.oss-cn-beijing.aliyuncs.com/*****\\"\\n }\\n ],\\n \\"RequestId\\": \\"FDE9942A-D919-527B-B559-5D0F6F20CCEC\\"\\n}","type":"json"}]', 'title' => 'DescribeDownloadSQLLogs', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDownloadSQLLogs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'DescribeExtension' => [ 'summary' => 'Describes the extension information.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '239995', 'abilityTreeNodes' => ['FEATUREgpdbQ0N7UN'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) Interface to query the details of all AnalyticDB PostgreSQL Instances in the target region, including Instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'DatabaseName', 'in' => 'query', 'schema' => ['description' => 'Database name.'."\n" ."\n" .'* Only contain letters, digits, and underscores (\\_).'."\n" .'* Must start with a letter.'."\n" .'* Up to 63 characters in length.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test01', 'title' => ''], ], [ 'name' => 'ExtensionName', 'in' => 'query', 'schema' => ['description' => 'The extension name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'zhparser', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of response.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521'], 'ExtensionName' => ['description' => 'The extension name.'."\n", 'type' => 'string', 'example' => 'zhparser', 'title' => ''], 'Status' => ['description' => 'The status of the extension.'."\n", 'type' => 'string', 'example' => 'installed', 'title' => ''], 'Description' => ['description' => 'The description of the extension.'."\n", 'type' => 'string', 'example' => 'zhparser', 'title' => ''], 'ExtensionId' => ['description' => 'The extension ID.'."\n", 'type' => 'string', 'example' => '37', 'title' => ''], 'CurrentVersion' => ['description' => 'The current version.'."\n", 'type' => 'string', 'example' => '2.1', 'title' => ''], 'LatestVersion' => ['description' => 'The latest version.'."\n", 'type' => 'string', 'example' => '2.1', 'title' => ''], 'IsInstallNeedRestart' => ['description' => 'Indicates whether an instance restart is required after you install the extension.'."\n", 'type' => 'boolean', 'example' => 'False', 'title' => ''], 'IsLatestVersion' => ['description' => 'Whether it is the latest version extension.'."\n", 'type' => 'boolean', 'example' => 'True', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"ExtensionName\\": \\"zhparser\\",\\n \\"Status\\": \\"installed\\",\\n \\"Description\\": \\"zhparser\\",\\n \\"ExtensionId\\": \\"37\\",\\n \\"CurrentVersion\\": \\"2.1\\",\\n \\"LatestVersion\\": \\"2.1\\",\\n \\"IsInstallNeedRestart\\": true,\\n \\"IsLatestVersion\\": true\\n}","type":"json"}]', 'title' => 'DescribeExtension', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeExtension', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'manual', ], 'DescribeExternalDataService' => [ 'summary' => 'Queries the information about an external data service.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbYL5VZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ServiceId', 'in' => 'query', 'schema' => ['description' => 'The service ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'ServiceId' => ['description' => 'The service ID.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], 'ServiceName' => ['description' => 'The name of the service.'."\n", 'type' => 'string', 'example' => 'test-pxf', 'title' => ''], 'ServiceDescription' => ['description' => 'The description of the service.'."\n", 'type' => 'string', 'example' => 'pxf test', 'title' => ''], 'ServiceSpec' => ['description' => 'The specifications of the service. Unit: compute units (CUs).'."\n", 'type' => 'string', 'example' => '8', 'title' => ''], 'Status' => ['description' => 'The status of the operation.', 'type' => 'string', 'example' => 'Running', 'title' => ''], 'CreateTime' => ['description' => 'The time when the service was created.'."\n", 'type' => 'string', 'example' => '2019-09-08T16:00:00Z', 'title' => ''], 'ModifyTime' => ['description' => 'The time when the service was last modified.'."\n", 'type' => 'string', 'example' => '2019-09-08T17:00:00Z', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"ServiceId\\": \\"1\\",\\n \\"ServiceName\\": \\"test-pxf\\",\\n \\"ServiceDescription\\": \\"pxf test\\",\\n \\"ServiceSpec\\": \\"8\\",\\n \\"Status\\": \\"Running\\",\\n \\"CreateTime\\": \\"2019-09-08T16:00:00Z\\",\\n \\"ModifyTime\\": \\"2019-09-08T17:00:00Z\\"\\n}","type":"json"}]', 'title' => 'DescribeExternalDataService', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeExternalDataService'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeExternalDataService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'DescribeHadoopClustersInSameNet' => [ 'summary' => 'Retrieves E-MapReduce (EMR) clusters in the same Virtual Private Cloud (VPC).', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbYL5VZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'Clusters' => [ 'type' => 'array', 'items' => ['description' => 'The list of EMR clusters.', 'type' => 'string', 'example' => 'c-xxx,c-yyy', 'title' => ''], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"Clusters\\": [\\n \\"c-xxx,c-yyy\\"\\n ]\\n}","type":"json"}]', 'title' => 'DescribeHadoopClustersInSameNet', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHadoopClustersInSameNet'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:DescribeHadoopClustersInSameNet', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'DescribeHadoopConfigs' => [ 'summary' => 'Queries the configuration information about a Hadoop cluster.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbYL5VZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxx', 'title' => ''], ], [ 'name' => 'EmrInstanceId', 'in' => 'query', 'schema' => ['description' => 'The E-MapReduce (EMR) Hadoop cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-xxx', 'title' => ''], ], [ 'name' => 'ConfigName', 'in' => 'query', 'schema' => ['description' => 'The name of the configuration file. Valid values:'."\n" ."\n" .'* hdfs-site'."\n" .'* core-site'."\n" .'* yarn-site'."\n" .'* mapred-site'."\n" .'* hive-site'."\n", 'type' => 'string', 'required' => true, 'example' => 'hdfs-site', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'ConfigName' => ['description' => 'The name of the configuration file. Valid values:'."\n" ."\n" .'* hdfs-site'."\n" .'* core-site'."\n" .'* yarn-site'."\n" .'* mapred-site'."\n" .'* hive-site'."\n", 'type' => 'string', 'example' => 'hdfs-site', 'title' => ''], 'ConfigValue' => ['description' => 'The configuration value.'."\n", 'type' => 'string', 'example' => ''."\n" .''."\n" .' '."\n" .' hive.exec.reducers.bytes.per.reducer'."\n" .' 256000000'."\n" .' '."\n" .' '."\n" .' hive.stats.column.autogather'."\n" .' false'."\n" .' '."\n" .'', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"ConfigName\\": \\"hdfs-site\\",\\n \\"ConfigValue\\": \\"\\\\n\\\\n \\\\n hive.exec.reducers.bytes.per.reducer\\\\n 256000000\\\\n \\\\n \\\\n hive.stats.column.autogather\\\\n false\\\\n \\\\n\\"\\n}","type":"json"}]', 'title' => 'DescribeHadoopConfigs', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHadoopConfigs'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeHadoopConfigs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeHadoopDataSource' => [ 'summary' => 'Obtains the configurations of a Hadoop data source.', 'methods' => ['post', 'get', 'put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '198686', 'abilityTreeNodes' => ['FEATUREgpdbOGW4DR'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gp-xxx', 'title' => ''], ], [ 'name' => 'DataSourceId', 'in' => 'query', 'schema' => ['description' => 'The data source ID.'."\n", 'type' => 'string', 'required' => false, 'example' => '123', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n" ."\n" .'> You can call the [DescribeRegions](~~2361846~~) operation to query the most recent region list.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'DataSourceId' => ['description' => 'The data source ID.'."\n", 'type' => 'string', 'example' => '123', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'DataSourceName' => ['description' => 'The name of the service.'."\n", 'type' => 'string', 'example' => 'hdfs_pxf', 'title' => ''], 'DataSourceDescription' => ['description' => 'The description of the service. The description can be up to 256 characters in length.'."\n", 'type' => 'string', 'example' => 'pxf for hdfs data source', 'title' => ''], 'DataSourceStatus' => ['description' => 'The status of the service. Valid values:'."\n" ."\n" .'* Init'."\n" .'* Running'."\n" .'* Exception'."\n", 'type' => 'string', 'example' => 'Running', 'title' => ''], 'DataSourceDir' => ['description' => 'The service directory in which Hadoop-related configuration files are stored.'."\n", 'type' => 'string', 'example' => 'HadoopDir', 'title' => ''], 'StatusMessage' => ['description' => 'The information about the service status. For example, if the service is in the exception state, the cause of the exception is displayed. If the service is in the running state, this parameter is left empty.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], 'CreateTime' => ['description' => 'The time when the service was created.'."\n", 'type' => 'string', 'example' => '2019-09-08T16:00:00Z', 'title' => ''], 'DataSourceType' => ['description' => 'The type of the data source.'."\n", 'type' => 'string', 'example' => 'hive', 'title' => ''], 'HadoopCreateType' => ['description' => 'The type of the external service. Valid values:'."\n" ."\n" .'* emr'."\n" .'* selfCreate'."\n", 'type' => 'string', 'example' => 'emr', 'title' => ''], 'HadoopHostsAddress' => ['description' => 'The IP address and hostname of the Hadoop cluster (data source) in the /etc/hosts file.'."\n", 'type' => 'string', 'example' => '127.0.0.1 localhost', 'title' => ''], 'HadoopCoreConf' => ['description' => 'The content of the Hadoop core-site.xml file.'."\n", 'type' => 'string', 'example' => ''."\n" .''."\n" .''."\n" .' '."\n" .' hadoop.http.authentication.kerberos.keytab'."\n" .' /etc/emr/hadoop-conf/http.keytab'."\n" .' '."\n" .' '."\n" .' fs.oss.idle.timeout.millisecond'."\n" .' 30000'."\n" .' '."\n" .' '."\n" .' fs.oss.download.thread.concurrency'."\n" .' 32'."\n" .' '."\n" .'', 'title' => ''], 'HDFSConf' => ['description' => 'The content of the Hadoop hdfs-site.xml file.'."\n", 'type' => 'string', 'example' => ''."\n" .''."\n" .''."\n" .' '."\n" .' dfs.datanode.cache.revocation.timeout.ms'."\n" .' 900000'."\n" .' '."\n" .' '."\n" .' dfs.namenode.resource.check.interval'."\n" .' 5000'."\n" .' '."\n" .'', 'title' => ''], 'HiveConf' => ['description' => 'The content of the Hadoop hive-site.xml file.'."\n", 'type' => 'string', 'example' => ''."\n" .''."\n" .''."\n" .' '."\n" .' hive.exec.reducers.bytes.per.reducer'."\n" .' 256000000'."\n" .' '."\n" .' '."\n" .' hive.stats.column.autogather'."\n" .' false'."\n" .' '."\n" .'', 'title' => ''], 'YarnConf' => ['description' => 'The content of the Hadoop yarn-site.xml file.'."\n", 'type' => 'string', 'example' => ''."\n" .''."\n" .''."\n" .' '."\n" .' yarn.nodemanager.linux-container-executor.nonsecure-mode.local-user'."\n" .' hadoop'."\n" .' '."\n" .' '."\n" .' yarn.scheduler.fair.dynamic.max.assign'."\n" .' true'."\n" .' '."\n" .'', 'title' => ''], 'MapReduceConf' => ['description' => 'The content of the Hadoop mapred-site.xml file.'."\n", 'type' => 'string', 'example' => ''."\n" .''."\n" .''."\n" .' '."\n" .' mapreduce.map.speculative'."\n" .' true'."\n" .' '."\n" .' '."\n" .' mapreduce.jobhistory.keytab'."\n" .' '."\n" .' '."\n" .'', 'title' => ''], 'EmrInstanceId' => ['description' => 'The E-MapReduce (EMR) Hadoop cluster ID.'."\n", 'type' => 'string', 'example' => 'c-1234567', 'title' => ''], 'ModifyTime' => ['description' => 'The time when the data source was last modified.'."\n", 'type' => 'string', 'example' => '2024-09-28T02:18:39Z', 'title' => ''], 'ExternalDataServiceId' => ['description' => 'The ID of the external data service.'."\n", 'type' => 'string', 'example' => '2952', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DataSourceId\\": \\"123\\",\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"DataSourceName\\": \\"hdfs_pxf\\",\\n \\"DataSourceDescription\\": \\"pxf for hdfs data source\\",\\n \\"DataSourceStatus\\": \\"Running\\",\\n \\"DataSourceDir\\": \\"HadoopDir\\",\\n \\"StatusMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"CreateTime\\": \\"2019-09-08T16:00:00Z\\",\\n \\"DataSourceType\\": \\"hive\\",\\n \\"HadoopCreateType\\": \\"emr\\",\\n \\"HadoopHostsAddress\\": \\"127.0.0.1 localhost\\",\\n \\"HadoopCoreConf\\": \\"\\\\n\\\\n\\\\n \\\\n hadoop.http.authentication.kerberos.keytab\\\\n /etc/emr/hadoop-conf/http.keytab\\\\n \\\\n \\\\n fs.oss.idle.timeout.millisecond\\\\n 30000\\\\n \\\\n \\\\n fs.oss.download.thread.concurrency\\\\n 32\\\\n \\\\n\\",\\n \\"HDFSConf\\": \\"\\\\n\\\\n\\\\n \\\\n dfs.datanode.cache.revocation.timeout.ms\\\\n 900000\\\\n \\\\n \\\\n dfs.namenode.resource.check.interval\\\\n 5000\\\\n \\\\n\\",\\n \\"HiveConf\\": \\"\\\\n\\\\n\\\\n \\\\n hive.exec.reducers.bytes.per.reducer\\\\n 256000000\\\\n \\\\n \\\\n hive.stats.column.autogather\\\\n false\\\\n \\\\n\\",\\n \\"YarnConf\\": \\"\\\\n\\\\n\\\\n \\\\n yarn.nodemanager.linux-container-executor.nonsecure-mode.local-user\\\\n hadoop\\\\n \\\\n \\\\n yarn.scheduler.fair.dynamic.max.assign\\\\n true\\\\n \\\\n\\",\\n \\"MapReduceConf\\": \\"\\\\n\\\\n\\\\n \\\\n mapreduce.map.speculative\\\\n true\\\\n \\\\n \\\\n mapreduce.jobhistory.keytab\\\\n \\\\n \\\\n\\",\\n \\"EmrInstanceId\\": \\"c-1234567\\",\\n \\"ModifyTime\\": \\"2024-09-28T02:18:39Z\\",\\n \\"ExternalDataServiceId\\": \\"2952\\"\\n}","type":"json"}]', 'title' => 'DescribeHadoopDataSource', 'changeSet' => [ ['createdAt' => '2024-08-20T13:41:28.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHadoopDataSource'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeHadoopDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeHealthStatus' => [ 'summary' => 'Queries the health status of an AnalyticDB for PostgreSQL instance and its nodes.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNOW7XI'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'Key', 'in' => 'query', 'schema' => ['description' => 'The performance metric that you want to query. Separate multiple values with commas (,). For more information, see [Performance parameters](~~86943~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'node_master_status,node_master_connection_status,node_segment_connection_status,node_segment_disk_status', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Status' => [ 'description' => 'The queried performance metrics. Each performance metric consists of the parameter name, status, and metric value. The metric information is returned only for the performance parameters specified by **Key**. For example, if you set **Key** to **adbpg_status**, only the metric information of **adbpg_status** is returned.'."\n" ."\n" .'For more information about performance parameters, see [Performance parameters](~~86943~~).'."\n", 'type' => 'object', 'properties' => [ 'adbpg_status' => [ 'description' => 'The information of instance health status.'."\n", 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The health status of the instance. Valid values:'."\n" ."\n" .'* **critical**: The coordinator node or a compute node is unavailable. In this case, this metric is marked in red in the console.'."\n" .'* **healthy**: All nodes are available. In this case, this metric is marked in green in the console.'."\n", 'type' => 'string', 'example' => 'healthy', 'title' => ''], 'Value' => ['description' => 'The metric value of instance health status. Valid values:'."\n" ."\n" .'* **1**: healthy'."\n" .'* **0**: critical'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1', 'title' => ''], ], 'title' => '', 'example' => '', ], 'adbpg_connection_status' => [ 'description' => 'The information of instance connection health status.'."\n", 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The connection health status of the instance. Valid values:'."\n" ."\n" .'* **critical**: The instance connection usage is greater than 95%. In this case, this metric is marked in red in the console.'."\n" .'* **warning**: The instance connection usage is greater than 90% and less than or equal to 95%. In this case, this metric is marked in yellow in the console.'."\n" .'* **healthy**: The instance connection usage is less than or equal to 90%. In this case, this metric is marked in green in the console.'."\n" ."\n" .'> The instance connection usage is the maximum connection usage among all the coordinator and compute nodes.'."\n", 'type' => 'string', 'example' => 'healthy', 'title' => ''], 'Value' => ['description' => 'The metric value of instance connection usage.'."\n" ."\n" .'Unit: %.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1.71', 'title' => ''], ], 'title' => '', 'example' => '', ], 'adbpg_disk_status' => [ 'description' => 'The information of instance storage status.'."\n" ."\n" .'> This parameter value is returned only for instances in elastic storage mode.'."\n", 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The storage status of the instance. Valid values:'."\n" ."\n" .'* **critical**: The instance storage usage is greater than or equal to 90%. In this case, this metric is marked in red in the console and the instance is locked.'."\n" .'* **warning**: The instance storage usage is greater than or equal to 70% and less than 90%. In this case, this metric is marked in yellow in the console.'."\n" .'* **healthy**: The instance storage usage is less than 70%. In this case, this metric is marked in green in the console.'."\n" ."\n" .'> The instance storage usage is the average storage usage of all compute nodes.'."\n", 'type' => 'string', 'example' => 'healthy', 'title' => ''], 'Value' => ['description' => 'The metric value of instance storage usage.'."\n" ."\n" .'Unit: %.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1.52', 'title' => ''], ], 'title' => '', 'example' => '', ], 'adbpg_disk_usage_percent' => [ 'description' => 'The information of instance storage usage.'."\n" ."\n" .'> This parameter value is returned only for instances in elastic storage mode.'."\n", 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The status corresponding to the storage usage of the instance. Valid values:'."\n" ."\n" .'* **critical**: The instance storage usage is greater than or equal to 90%. In this case, the instance is locked.'."\n" .'* **warning**: The instance storage usage is greater than or equal to 70% and less than 90%.'."\n" .'* **healthy**: The instance storage usage is less than 70%.'."\n" ."\n" .'> The instance storage usage is the average storage usage of all compute nodes.'."\n", 'type' => 'string', 'example' => 'healthy', 'title' => ''], 'Value' => ['description' => 'The metric value of instance storage usage.'."\n" ."\n" .'Unit: %.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1.52', 'title' => ''], ], 'title' => '', 'example' => '', ], 'adbpg_master_disk_usage_percent_max' => [ 'description' => 'The information of maximum coordinator node storage usage.'."\n" ."\n" .'> This parameter value is returned only for instances in elastic storage mode.'."\n", 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The status corresponding to the maximum storage usage of the coordinator node. Valid values:'."\n" ."\n" .'* **critical**: The coordinator node storage usage is greater than or equal to 90%. In this case, the instance is locked.'."\n" .'* **warning**: The coordinator node storage usage is greater than or equal to 70% and less than 90%.'."\n" .'* **healthy**: The coordinator node storage usage is less than 70%.'."\n", 'type' => 'string', 'example' => 'healthy', 'title' => ''], 'Value' => ['description' => 'The metric value of maximum coordinator node storage usage.'."\n" ."\n" .'Unit: %.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1.34', 'title' => ''], ], 'title' => '', 'example' => '', ], 'adbgp_segment_disk_usage_percent_max' => [ 'description' => 'The information of maximum compute node storage usage.'."\n" ."\n" .'> This parameter value is returned only for instances in elastic storage mode.'."\n", 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The status corresponding to the maximum storage usage among all compute nodes. Valid values:'."\n" ."\n" .'* **critical**: The compute node storage usage is greater than or equal to 90%. In this case, the instance is locked.'."\n" .'* **warning**: The compute node storage usage is greater than or equal to 80% and less than 90%.'."\n" .'* **healthy**: The compute node storage usage is less than 80%.'."\n", 'type' => 'string', 'example' => 'healthy', 'title' => ''], 'Value' => ['description' => 'The metric value of maximum compute node storage usage.'."\n" ."\n" .'Unit: %.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1.52', 'title' => ''], ], 'title' => '', 'example' => '', ], 'node_master_status' => [ 'description' => 'The information of coordinator node health status.'."\n", 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The health status of the coordinator node. Valid values:'."\n" ."\n" .'* **critical**: The primary or standby coordinator node is unavailable. In this case, this metric is marked in red in the console.'."\n" .'* **healthy**: Both the primary and standby coordinator nodes are available. In this case, this metric is marked in green in the console.'."\n", 'type' => 'string', 'example' => 'healthy', 'title' => ''], 'Value' => ['description' => 'The metric value of coordinator node health status. Valid values:'."\n" ."\n" .'* **1**: healthy'."\n" .'* **0**: critical'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1', 'title' => ''], ], 'title' => '', 'example' => '', ], 'node_segment_disk_status' => [ 'description' => 'The information of compute node storage status.'."\n" ."\n" .'> This parameter value is returned only for instances in elastic storage mode.'."\n", 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The storage status of compute nodes. Valid values:'."\n" ."\n" .'* **critical**: The compute node storage usage is greater than or equal to 90%. In this case, this metric is marked in red in the console and the instance is locked.'."\n" .'* **warning**: The compute node storage usage is greater than or equal to 80% and less than 90%. In this case, this metric is marked in yellow in the console.'."\n" .'* **healthy**: The compute node storage usage is less than 80%. In this case, this metric is marked in green in the console.'."\n" ."\n" .'> The compute node storage usage is the maximum storage usage among all compute nodes.'."\n", 'type' => 'string', 'example' => 'healthy', 'title' => ''], 'Value' => ['description' => 'The metric value of maximum compute node storage usage.'."\n" ."\n" .'Unit: %.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1.52', 'title' => ''], ], 'title' => '', 'example' => '', ], 'node_master_connection_status' => [ 'description' => 'The information of coordinator node connection health status.'."\n", 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The connection health status of the coordinator node. Valid values:'."\n" ."\n" .'* **critical**: The coordinator node connection usage is greater than 95%. In this case, this metric is marked in red in the console.'."\n" .'* **warning**: The coordinator node connection usage is greater than or equal to 90% and less than 95%. In this case, this metric is marked in yellow in the console.'."\n" .'* **healthy**: The coordinator node connection usage is less than 90%. In this case, this metric is marked in green in the console.'."\n" ."\n" .'> The coordinator node connection usage is the maximum connection usage of the coordinator node.'."\n", 'type' => 'string', 'example' => 'healthy', 'title' => ''], 'Value' => ['description' => 'The metric value of coordinator node connection usage.'."\n" ."\n" .'Unit: %.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1.71', 'title' => ''], ], 'title' => '', 'example' => '', ], 'node_segment_connection_status' => [ 'description' => 'The information of compute node connection health status.'."\n", 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The connection health status of compute nodes. Valid values:'."\n" ."\n" .'* **critical**: The compute node connection usage is greater than or equal to 95%. In this case, this metric is marked in red in the console.'."\n" .'* **warning**: The compute node connection usage is greater than or equal to 90% and less than 95%. In this case, this metric is marked in yellow in the console.'."\n" .'* **healthy**: The compute node connection usage is less than 90%. In this case, this metric is marked in green in the console.'."\n" ."\n" .'> The compute node connection usage is the maximum connection usage among all compute nodes.'."\n", 'type' => 'string', 'example' => 'healthy', 'title' => ''], 'Value' => ['description' => 'The metric value of maximum compute node connection usage.'."\n" ."\n" .'Unit: %.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.48', 'title' => ''], ], 'title' => '', 'example' => '', ], 'adbpg_master_status' => [ 'description' => 'The information of coordinator node availability status.'."\n", 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The availability status of the coordinator node. Valid values:'."\n" ."\n" .'* **critical**: Both the primary and standby coordinator nodes are unavailable. In this case, this metric is marked in red in the console.'."\n" .'* **warning**: The primary or standby coordinator node is unavailable. In this case, this metric is marked in yellow in the console.'."\n" .'* **healthy**: Both the primary and standby coordinator nodes are available. In this case, this metric is marked in green in the console.'."\n", 'type' => 'string', 'example' => 'healthy', 'title' => ''], 'Value' => ['description' => 'The metric value of coordinator node availability status. Valid values:'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1', 'title' => ''], ], 'title' => '', 'example' => '', ], 'adbpg_segment_status' => [ 'description' => 'The information of compute node availability status.'."\n", 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The availability status of compute nodes. Valid values:'."\n" ."\n" .'* **critical**: All the primary and secondary compute nodes are unavailable. In this case, this metric is marked in red in the console.'."\n" .'* **warning**: Fifty percent or more than fifty percent of compute nodes are unavailable. In this case, this metric is marked in yellow in the console.'."\n" .'* **healthy**: All compute nodes are available. In this case, this metric is marked in green in the console.'."\n", 'type' => 'string', 'example' => 'healthy', 'title' => ''], 'Value' => ['description' => 'The metric value of compute node availability status.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1', 'title' => ''], ], 'title' => '', 'example' => '', ], 'adbpg_instance_total_data_gb' => [ 'description' => 'The total amount of data storage of the instance.'."\n", 'type' => 'object', 'properties' => [ 'Value' => ['description' => 'The total amount of data storage of the instance. Unit: GB.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '4.1', 'title' => ''], ], 'title' => '', 'example' => '', ], 'adbpg_instance_hot_data_gb' => [ 'description' => 'The total amount of hot data storage.'."\n", 'type' => 'object', 'properties' => [ 'Value' => ['description' => 'The total amount of hot data storage. Unit: GB.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '4.1', 'title' => ''], ], 'title' => '', 'example' => '', ], 'adbpg_instance_cold_data_gb' => [ 'description' => 'The total amount of cold data storage.'."\n", 'type' => 'object', 'properties' => [ 'Value' => ['description' => 'The total amount of cold data storage. Unit: GB.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'example' => '{"node_master_connection_status":{"Status":"healthy","Value":1.6}}', 'title' => '', ], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'D97B4191-104D-10CE-8BC5-53**********', 'title' => ''], 'DBClusterId' => ['description' => 'The ID of instance.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": {\\n \\"adbpg_status\\": {\\n \\"Status\\": \\"healthy\\",\\n \\"Value\\": 1\\n },\\n \\"adbpg_connection_status\\": {\\n \\"Status\\": \\"healthy\\",\\n \\"Value\\": 1.71\\n },\\n \\"adbpg_disk_status\\": {\\n \\"Status\\": \\"healthy\\",\\n \\"Value\\": 1.52\\n },\\n \\"adbpg_disk_usage_percent\\": {\\n \\"Status\\": \\"healthy\\",\\n \\"Value\\": 1.52\\n },\\n \\"adbpg_master_disk_usage_percent_max\\": {\\n \\"Status\\": \\"healthy\\",\\n \\"Value\\": 1.34\\n },\\n \\"adbgp_segment_disk_usage_percent_max\\": {\\n \\"Status\\": \\"healthy\\",\\n \\"Value\\": 1.52\\n },\\n \\"node_master_status\\": {\\n \\"Status\\": \\"healthy\\",\\n \\"Value\\": 1\\n },\\n \\"node_segment_disk_status\\": {\\n \\"Status\\": \\"healthy\\",\\n \\"Value\\": 1.52\\n },\\n \\"node_master_connection_status\\": {\\n \\"Status\\": \\"healthy\\",\\n \\"Value\\": 1.71\\n },\\n \\"node_segment_connection_status\\": {\\n \\"Status\\": \\"healthy\\",\\n \\"Value\\": 0.48\\n },\\n \\"adbpg_master_status\\": {\\n \\"Status\\": \\"healthy\\",\\n \\"Value\\": 1\\n },\\n \\"adbpg_segment_status\\": {\\n \\"Status\\": \\"healthy\\",\\n \\"Value\\": 1\\n },\\n \\"adbpg_instance_total_data_gb\\": {\\n \\"Value\\": 4.1\\n },\\n \\"adbpg_instance_hot_data_gb\\": {\\n \\"Value\\": 4.1\\n },\\n \\"adbpg_instance_cold_data_gb\\": {\\n \\"Value\\": 0\\n }\\n },\\n \\"RequestId\\": \\"D97B4191-104D-10CE-8BC5-53**********\\",\\n \\"DBClusterId\\": \\"gp-bp12ga6v69h86****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 200\\n \\n \\n \\n healthy\\n 1\\n \\n \\n healthy\\n 1.71\\n \\n \\n healthy\\n 1.52\\n \\n \\n healthy\\n 1.34\\n \\n \\n healthy\\n 1.52\\n \\n \\n healthy\\n 1.52\\n \\n \\n healthy\\n 1.71\\n \\n \\n healthy\\n 1\\n \\n \\n healthy\\n 0.48\\n \\n \\n healthy\\n 1.52\\n \\n \\n D97B4191-104D-10CE-8BC5-53**********\\n gp-bp12ga6v69h86****\\n \\n 200\\n D97B4191-104D-10CE-8BC5-53**********\\n true\\n","errorExample":""}]', 'title' => 'DescribeHealthStatus', 'description' => '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.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', 'changeSet' => [ ['createdAt' => '2023-06-30T02:38:49.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-06-22T15:01:43.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHealthStatus'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeHealthStatus', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeIMVInfos' => [ 'summary' => 'Queries the information about real-time materialized views of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '189240', 'abilityTreeNodes' => ['FEATUREgpdbFI8Y7H'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxxx', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testdb', 'title' => ''], ], [ 'name' => 'MVName', 'in' => 'query', 'schema' => ['description' => 'The name of MV', 'type' => 'string', 'required' => false, 'example' => 'public."mv1"', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'DBInstanceId' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'example' => 'gp-xxxxxxxxx', 'title' => ''], 'ImvInfos' => [ 'description' => 'The queried materialized views.'."\n", 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'MV' => ['description' => 'The name of the materialized view.'."\n", 'type' => 'string', 'example' => 'public."mv1"', 'title' => ''], 'Base' => ['description' => 'The name of the table based on which the materialized view is created.'."\n", 'type' => 'string', 'example' => '"public."t2"', 'title' => ''], 'DetailInfo' => ['description' => 'The dependency between the materialized view and the base table and all metric values, which can be used to build a lineage graph.'."\n", 'type' => 'string', 'example' => '{\\"maintenance_calls\\" : 1, \\"avg_apply_time\\" : 2, \\"avg_calc_rows\\" : 1, \\"avg_calc_time\\" : 11, \\"avg_delta_rows\\" : 1, \\"avg_maintenance_total_time\\" : 14, \\"avg_maintenance_total_time_total\\" : 14, \\"max_apply_time\\" : 2, \\"max_calc_rows\\" : 1, \\"max_calc_time\\" : 11, \\"max_delta_rows\\" : 1, \\"max_maintenance_total_time\\" : 14, \\"max_maintenance_total_time_total\\" : 14, \\"min_apply_time\\" : 2, \\"min_calc_rows\\" : 1, \\"min_calc_time\\" : 11, \\"min_delta_rows\\" : 1, \\"min_maintenance_total_time\\" : 14, \\"min_maintenance_total_time_total\\" : 14, \\"max_outerjoin_apply_time\\" : null, \\"max_outerjoin_calc_rows\\" : null, \\"max_outerjoin_calc_time\\" : null, \\"max_outerjoin_delta_rows\\" : null, \\"avg_outerjoin_apply_time\\" : null, \\"avg_outerjoin_calc_rows\\" : null, \\"avg_outerjoin_calc_time\\" : null, \\"avg_outerjoin_delta_rows\\" : null, \\"min_outerjoin_apply_time\\" : null, \\"min_outerjoin_calc_rows\\" : null, \\"min_outerjoin_calc_time\\" : null, \\"min_outerjoin_delta_rows\\" : null, \\"create_rows\\" : null, \\"create_time\\" : null, \\"direct_visited\\" : null, \\"indirect_visited\\" : null, \\"max_refresh_rows\\" : null, \\"max_refresh_time\\" : null, \\"avg_refresh_rows\\" : null, \\"avg_refresh_time\\" : null, \\"min_refresh_rows\\" : null, \\"min_refresh_time\\" : null, \\"refresh_calls\\" : null, \\"avg_wait_lock_time\\" : null, \\"max_wait_lock_time\\" : null, \\"min_wait_lock_time\\" : null, \\"latest_maintenance_time\\" : \\"2023-08-09T07:39:14.753252+00:00\\"}', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"DBInstanceId\\": \\"gp-xxxxxxxxx\\",\\n \\"ImvInfos\\": [\\n {\\n \\"MV\\": \\"public.\\\\\\"mv1\\\\\\"\\",\\n \\"Base\\": \\"\\\\\\"public.\\\\\\"t2\\\\\\"\\",\\n \\"DetailInfo\\": \\"{\\\\\\\\\\\\\\"maintenance_calls\\\\\\\\\\\\\\" : 1, \\\\\\\\\\\\\\"avg_apply_time\\\\\\\\\\\\\\" : 2, \\\\\\\\\\\\\\"avg_calc_rows\\\\\\\\\\\\\\" : 1, \\\\\\\\\\\\\\"avg_calc_time\\\\\\\\\\\\\\" : 11, \\\\\\\\\\\\\\"avg_delta_rows\\\\\\\\\\\\\\" : 1, \\\\\\\\\\\\\\"avg_maintenance_total_time\\\\\\\\\\\\\\" : 14, \\\\\\\\\\\\\\"avg_maintenance_total_time_total\\\\\\\\\\\\\\" : 14, \\\\\\\\\\\\\\"max_apply_time\\\\\\\\\\\\\\" : 2, \\\\\\\\\\\\\\"max_calc_rows\\\\\\\\\\\\\\" : 1, \\\\\\\\\\\\\\"max_calc_time\\\\\\\\\\\\\\" : 11, \\\\\\\\\\\\\\"max_delta_rows\\\\\\\\\\\\\\" : 1, \\\\\\\\\\\\\\"max_maintenance_total_time\\\\\\\\\\\\\\" : 14, \\\\\\\\\\\\\\"max_maintenance_total_time_total\\\\\\\\\\\\\\" : 14, \\\\\\\\\\\\\\"min_apply_time\\\\\\\\\\\\\\" : 2, \\\\\\\\\\\\\\"min_calc_rows\\\\\\\\\\\\\\" : 1, \\\\\\\\\\\\\\"min_calc_time\\\\\\\\\\\\\\" : 11, \\\\\\\\\\\\\\"min_delta_rows\\\\\\\\\\\\\\" : 1, \\\\\\\\\\\\\\"min_maintenance_total_time\\\\\\\\\\\\\\" : 14, \\\\\\\\\\\\\\"min_maintenance_total_time_total\\\\\\\\\\\\\\" : 14, \\\\\\\\\\\\\\"max_outerjoin_apply_time\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"max_outerjoin_calc_rows\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"max_outerjoin_calc_time\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"max_outerjoin_delta_rows\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"avg_outerjoin_apply_time\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"avg_outerjoin_calc_rows\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"avg_outerjoin_calc_time\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"avg_outerjoin_delta_rows\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"min_outerjoin_apply_time\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"min_outerjoin_calc_rows\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"min_outerjoin_calc_time\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"min_outerjoin_delta_rows\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"create_rows\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"create_time\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"direct_visited\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"indirect_visited\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"max_refresh_rows\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"max_refresh_time\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"avg_refresh_rows\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"avg_refresh_time\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"min_refresh_rows\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"min_refresh_time\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"refresh_calls\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"avg_wait_lock_time\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"max_wait_lock_time\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"min_wait_lock_time\\\\\\\\\\\\\\" : null, \\\\\\\\\\\\\\"latest_maintenance_time\\\\\\\\\\\\\\" : \\\\\\\\\\\\\\"2023-08-09T07:39:14.753252+00:00\\\\\\\\\\\\\\"}\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'DescribeIMVInfos', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIMVInfos'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeIMVInfos', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeIndex' => [ 'summary' => 'Retrieves the information about an index.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbIPPRRA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the cluster.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => [ 'description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. This parameter and DBInstanceId cannot both be empty. If both parameters are specified, this value takes precedence.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* ip'."\n" .'* l2'."\n" .'* cosine'."\n", 'type' => 'string', 'required' => false, 'enumValueTitles' => [], 'example' => 'gp-ws-*****', 'enum' => ['ip', 'l2', 'cosine'], 'title' => '', ], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The namespace name.'."\n" ."\n" .'> You can call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => true, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password of the namespace.'."\n" ."\n" .'> The value of this parameter is specified when you call the [CreateNamespace](~~2401495~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the collection.'."\n" ."\n" .'> You can call the [ListCollections](~~2401503~~) operation to query a list of collections.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testcollection', 'title' => ''], ], [ 'name' => 'IndexName', 'in' => 'query', 'schema' => ['description' => 'The name of the index.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testindex', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **false**: The operation fails.'."\n" .'* **true**: The operation is successful.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Namespace' => ['description' => 'The namespace.'."\n", 'type' => 'string', 'example' => 'mynamespace', 'title' => ''], 'Collection' => ['description' => 'The name of the collection.'."\n", 'type' => 'string', 'example' => 'testcollection', 'title' => ''], 'IndexName' => ['description' => 'The name of the index.'."\n", 'type' => 'string', 'example' => 'testindex', 'title' => ''], 'IndexDef' => ['description' => 'The definition of the index.'."\n", 'type' => 'string', 'example' => 'CREATE INDEX testindex ON mynamespace. testcollection', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"Namespace\\": \\"mynamespace\\",\\n \\"Collection\\": \\"testcollection\\",\\n \\"IndexName\\": \\"testindex\\",\\n \\"IndexDef\\": \\"CREATE INDEX testindex ON mynamespace. testcollection\\"\\n}","type":"json"}]', 'title' => 'DescribeIndex', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeIndex', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], ], 'DescribeJDBCDataSource' => [ 'summary' => 'Queries the configurations of a Java Database Connectivity (JDBC) data source.', 'methods' => ['post', 'get', 'put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '198713', 'abilityTreeNodes' => ['FEATUREgpdbOGW4DR'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gp-xxx', 'title' => ''], ], [ 'name' => 'DataSourceId', 'in' => 'query', 'schema' => ['description' => 'The data source ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '123', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'DataSourceId' => ['description' => 'The data source ID.'."\n", 'type' => 'string', 'example' => '123', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'DataSourceName' => ['description' => 'The name of data soruce', 'type' => 'string', 'example' => 'hdfs_pxf', 'title' => ''], 'DataSourceDescription' => ['description' => 'The description of the service. The description can be up to 256 characters in length.'."\n", 'type' => 'string', 'example' => 'mysql data source config', 'title' => ''], 'DataSourceStatus' => ['description' => 'The status of the service. Valid values:'."\n" ."\n" .'* Init'."\n" .'* Running'."\n" .'* Exception'."\n", 'type' => 'string', 'example' => 'Running', 'title' => ''], 'StatusMessage' => ['description' => 'The message of the status', 'type' => 'string', 'example' => '""', 'title' => ''], 'CreateTime' => ['description' => 'The time when the service was created.'."\n", 'type' => 'string', 'example' => '2019-09-08T16:00:00Z', 'title' => ''], 'DataSourceType' => ['description' => 'The type of the data source.'."\n", 'type' => 'string', 'example' => 'mysql', 'title' => ''], 'JDBCConnectionString' => ['description' => 'The JDBC connection string.'."\n", 'type' => 'string', 'example' => 'jdbc:mysql://rm-xxx.mysql.rds.aliyuncs.com:3306/testadmin', 'title' => ''], 'JDBCUserName' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'example' => 'testuser', 'title' => ''], 'JDBCPassword' => ['description' => 'The password of the database account.'."\n", 'type' => 'string', 'example' => 'testpasswd', 'title' => ''], 'ModifyTime' => ['description' => 'The time when the data source was last modified.', 'type' => 'string', 'example' => '2024-09-04T02:27:55Z', 'title' => ''], 'ExternalDataServiceId' => ['description' => 'The id of the external data service', 'type' => 'string', 'example' => '2989', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DataSourceId\\": \\"123\\",\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"DataSourceName\\": \\"hdfs_pxf\\",\\n \\"DataSourceDescription\\": \\"mysql data source config\\",\\n \\"DataSourceStatus\\": \\"Running\\",\\n \\"StatusMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"CreateTime\\": \\"2019-09-08T16:00:00Z\\",\\n \\"DataSourceType\\": \\"mysql\\",\\n \\"JDBCConnectionString\\": \\"jdbc:mysql://rm-xxx.mysql.rds.aliyuncs.com:3306/testadmin\\",\\n \\"JDBCUserName\\": \\"testuser\\",\\n \\"JDBCPassword\\": \\"testpasswd\\",\\n \\"ModifyTime\\": \\"2024-09-04T02:27:55Z\\",\\n \\"ExternalDataServiceId\\": \\"2989\\"\\n}","type":"json"}]', 'title' => 'DescribeJDBCDataSource', 'changeSet' => [ ['createdAt' => '2024-08-20T13:41:28.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeJDBCDataSource'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeJDBCDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeLogBackups' => [ 'summary' => 'Queries a list of log backups.', 'methods' => ['post', 'get', 'put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbS95BLZ'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a specific region.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2022-12-12T02:00Z', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end of the time range to query. The end time must be later than the start time. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2022-12-12T03:00Z', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return on each page. Valid values:'."\n" ."\n" .'* **30**'."\n" .'* **50**'."\n" .'* **100**'."\n" ."\n" .'Default value: **30**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '30', 'example' => '30', 'default' => '30', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The number of the page to return. The value must be an integer that is greater than 0. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2147483647', 'minimum' => '1', 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'TotalLogSize' => ['description' => 'The total size of logs in the time range. Unit: bytes.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '386748', 'title' => ''], 'PageSize' => ['description' => 'The number of backup sets on the current page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'PageNumber' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '24B9FCAF-2CBC-51C3-B563-F1C70D750187', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], 'Items' => [ 'description' => 'Details of the backup sets.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'LogFileSize' => ['description' => 'The size of the log backup set. Unit: bytes.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '77350', 'title' => ''], 'LogTime' => ['description' => 'The timestamp of the log.'."\n", 'type' => 'string', 'example' => '2022-12-12T02:14:26Z', 'title' => ''], 'SegmentName' => ['description' => 'The name of the compute node.'."\n", 'type' => 'string', 'example' => 'segment-0', 'title' => ''], 'LogFileName' => ['description' => 'The name of the log backup set that is stored in Object Storage Service (OSS).'."\n", 'type' => 'string', 'example' => '000000010000000400000012', 'title' => ''], 'DBInstanceId' => ['description' => 'The ID of the coordinator node.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****-master', 'title' => ''], 'BackupId' => ['description' => 'The ID of the backup set.'."\n", 'type' => 'string', 'example' => '12413721782', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalLogSize\\": 386748,\\n \\"PageSize\\": 30,\\n \\"PageNumber\\": 1,\\n \\"RequestId\\": \\"24B9FCAF-2CBC-51C3-B563-F1C70D750187\\",\\n \\"TotalCount\\": 5,\\n \\"Items\\": [\\n {\\n \\"LogFileSize\\": 77350,\\n \\"LogTime\\": \\"2022-12-12T02:14:26Z\\",\\n \\"SegmentName\\": \\"segment-0\\",\\n \\"LogFileName\\": \\"000000010000000400000012\\",\\n \\"DBInstanceId\\": \\"gp-bp12ga6v69h86****-master\\",\\n \\"BackupId\\": \\"12413721782\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 5\\n 30\\n 24B9FCAF-2CBC-51C3-B563-F1C70D750187\\n 1\\n \\n segment-0\\n gp-bp12ga6v69h86****-master\\n 2022-12-12T02:14:26Z\\n 77350\\n 12413721782\\n 000000010000000400000012\\n \\n 386748\\n","errorExample":""}]', 'title' => 'DescribeLogBackups', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2022-08-30T11:41:32.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeLogBackups'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeLogBackups', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeModelOperatorApiKey' => [ 'summary' => 'Retrieves the details of a model operator API key.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ApiKeyId', 'in' => 'query', 'schema' => ['description' => 'API KEY ID。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'ApiKeyId' => ['description' => 'API KEY ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'test-apikey', 'title' => ''], 'ApiKey' => ['description' => 'The API key content.', 'type' => 'string', 'example' => 'QEDGOTAJOG', 'title' => ''], 'Endpoint' => ['description' => 'The endpoint.', 'type' => 'string', 'example' => 'https://xxxx', 'title' => ''], 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2026-06-01T00:00:00Z', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Retrieve model operator API key details', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"ApiKeyId\\": 1,\\n \\"Description\\": \\"test-apikey\\",\\n \\"ApiKey\\": \\"QEDGOTAJOG\\",\\n \\"Endpoint\\": \\"https://xxxx\\",\\n \\"CreateTime\\": \\"2026-06-01T00:00:00Z\\"\\n}","type":"json"}]', ], 'DescribeModelOperatorUsage' => [ 'summary' => 'Retrieves the usage metrics of model operators.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'Keys', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => 'The list of metrics. Separate multiple metrics with commas (,). Valid values:'."\n" ."\n" .'- request_count: the number of requests.'."\n" .'- success_count: the number of successful requests.'."\n" .'- error_count: the number of failed requests.'."\n" .'- success_rate: the request success rate.'."\n" .'- input_token: the number of input tokens.'."\n" .'- output_token: the number of output tokens.'."\n" .'- total_token: the total number of tokens.', 'type' => 'array', 'items' => ['description' => 'The metric name.', 'type' => 'string', 'required' => false, 'example' => 'request_count, success_count', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The start time of the query. Specify the time in the YYYY-MM-DDThh:mmZ format (UTC).'."\n" ."\n" .'> Only metrics within the last 30 days can be queried.', 'type' => 'string', 'required' => false, 'example' => '2026-06-01T00:00Z', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end time of the query. Specify the time in the YYYY-MM-DDThh:mmZ format (UTC).'."\n" ."\n" .'> The end time must be later than the start time, and the interval between the start time and end time cannot exceed 7 days.', 'type' => 'string', 'required' => false, 'example' => '2026-06-02T00:00Z', 'title' => ''], ], [ 'name' => 'ApiKeyIds', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => 'The list of API key IDs. Separate multiple IDs with commas (,). If this parameter is not specified, all API key IDs under the instance ID are used by default.'."\n" ."\n" .'> The list can contain up to 50 items.', 'type' => 'array', 'items' => ['description' => 'API KEY ID。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'ModelNames', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => 'The list of model names. Separate multiple names with commas (,).', 'type' => 'array', 'items' => ['description' => 'The model name.', 'type' => 'string', 'required' => false, 'example' => 'qwen3.6-plus', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'GroupBy', 'in' => 'query', 'schema' => ['description' => 'The dimension by which to split the series. Separate multiple dimensions with commas (,). The order is not significant. Valid values:'."\n" ."\n" .'- model (default): splits by model.'."\n" .'- api_key: splits by API key.'."\n" .'- model,api_key: splits by model and API key.', 'type' => 'string', 'required' => false, 'example' => 'model', 'title' => ''], ], [ 'name' => 'Period', 'in' => 'query', 'schema' => ['description' => 'The time bucket size in seconds. Valid values: 1, 5, 15, 60, 300, and 3600.'."\n" ."\n" .'>'."\n" .'> - 1. If Period is not specified, the default value is determined by the following rules:'."\n" .'> - - Window range ≤ 1 hour: Period = 1.'."\n" .'> - - Window range ≤ 1 day: Period = 60.'."\n" .'> - - Window range ≤ 7 days: Period = 60.'."\n" .'> - 2. When Period is set to 1, the window must be ≤ 1 day.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'StartTime' => ['description' => 'The start time of the query. The time is in the YYYY-MM-DDThh:mmZ format (UTC).', 'type' => 'string', 'example' => '2026-06-01T00:00Z', 'title' => ''], 'EndTime' => ['description' => 'The end time of the query. The time is in the YYYY-MM-DDThh:mmZ format (UTC).', 'type' => 'string', 'example' => '2026-06-02T00:00Z', 'title' => ''], 'Period' => ['description' => 'The actual bucket size used, in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Keys' => [ 'description' => 'The list of metric values.', 'type' => 'array', 'items' => [ 'description' => 'The metric value details.', 'type' => 'object', 'properties' => [ 'Name' => ['description' => 'The metric name.', 'type' => 'string', 'example' => 'request_count', 'title' => ''], 'Unit' => ['description' => 'The unit. Valid values:'."\n" ."\n" .'- requests'."\n" .'- tokens'."\n" .'- %', 'type' => 'string', 'example' => 'requests', 'title' => ''], 'Series' => [ 'description' => 'The collection of metric values.', 'type' => 'array', 'items' => [ 'description' => 'The metric value details after splitting.', 'type' => 'object', 'properties' => [ 'Role' => ['description' => 'The normalized GroupBy value: model, api_key, or model,api_key.', 'type' => 'string', 'example' => 'model', 'title' => ''], 'Name' => ['description' => 'The model name when GroupBy contains model. The api_key_id string when GroupBy contains only api_key.', 'type' => 'string', 'example' => 'qwen3.6-plus', 'title' => ''], 'ApiKeyId' => ['description' => 'The API key ID. This value is returned only when GroupBy contains api_key.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Values' => [ 'description' => 'The list of metric values. Each value corresponds to a collection time point.', 'type' => 'array', 'items' => [ 'description' => 'The metric value details.', 'type' => 'object', 'properties' => [ 'Point' => [ 'description' => 'The specific metric information, consisting of a timestamp and a metric value.', 'type' => 'array', 'items' => ['description' => 'The specific metric information.', 'type' => 'string', 'example' => '["2026-06-01T00:00:00Z","1"]', 'title' => ''], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Retrieve model operator usage', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"StartTime\\": \\"2026-06-01T00:00Z\\",\\n \\"EndTime\\": \\"2026-06-02T00:00Z\\",\\n \\"Period\\": 1,\\n \\"Keys\\": [\\n {\\n \\"Name\\": \\"request_count\\",\\n \\"Unit\\": \\"requests\\",\\n \\"Series\\": [\\n {\\n \\"Role\\": \\"model\\",\\n \\"Name\\": \\"qwen3.6-plus\\",\\n \\"ApiKeyId\\": 1,\\n \\"Values\\": [\\n {\\n \\"Point\\": [\\n \\"[\\\\\\"2026-06-01T00:00:00Z\\\\\\",\\\\\\"1\\\\\\"]\\"\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', ], 'DescribeModelService' => [ 'summary' => 'Queries a model service.', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including the instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'ModelServiceId', 'in' => 'query', 'schema' => ['description' => 'The model service ID.', 'type' => 'string', 'required' => true, 'example' => 'mx-xxxxxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'ModelServiceId' => ['description' => 'The model service ID.', 'type' => 'string', 'example' => 'ms-xxxxxxxxx', 'title' => ''], 'ModelName' => ['description' => 'The model name.', 'type' => 'string', 'example' => 'Qwen3-Embedding-8B', 'title' => ''], 'Status' => ['description' => 'The model service status.', 'type' => 'string', 'example' => '- deployming'."\n" .'- active', 'title' => ''], 'PublicConnectUrl' => ['description' => 'The public network connection string.', 'type' => 'string', 'example' => 'http://ms-xxxxxxx-o.xxxx.rds.aliyuncs.com', 'title' => ''], 'PrivateConnectUrl' => ['description' => 'The internal network connection string.', 'type' => 'string', 'example' => 'http://ms-xxxxxxx.xxxx.rds.aliyuncs.com', 'title' => ''], 'SecurityIpList' => ['description' => 'The list of IP addresses in the IP whitelist, separated by commas.', 'type' => 'string', 'example' => '127.0.0.1', 'title' => ''], 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2019-09-08T16:00:00Z', 'title' => ''], 'ApiKey' => ['description' => 'The API key.', 'type' => 'string', 'example' => 'cx/Y57lTNf*********', 'title' => ''], 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'test', 'title' => ''], 'ModelParams' => ['description' => 'The model parameters.', 'type' => 'object', 'example' => 'Not yet available.', 'title' => ''], 'AiNodes' => [ 'description' => 'The list of AI nodes.', 'type' => 'array', 'items' => ['description' => 'The AI node name.', 'type' => 'string', 'example' => 'ai-xxxxxxxxx', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Query a model service', 'description' => '## Operation description'."\n" .'You can call this operation to query the details of a model service.'."\n" ."\n" .'## Rate limit'."\n" .'The maximum number of queries per second (QPS) per user for this operation is 1,000. If the number of calls exceeds the limit, throttling is triggered. Throttling may affect your business. Call this operation as needed.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeModelService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"ModelServiceId\\": \\"ms-xxxxxxxxx\\",\\n \\"ModelName\\": \\"Qwen3-Embedding-8B\\",\\n \\"Status\\": \\"- deployming\\\\n- active\\",\\n \\"PublicConnectUrl\\": \\"http://ms-xxxxxxx-o.xxxx.rds.aliyuncs.com\\",\\n \\"PrivateConnectUrl\\": \\"http://ms-xxxxxxx.xxxx.rds.aliyuncs.com\\",\\n \\"SecurityIpList\\": \\"127.0.0.1\\",\\n \\"CreateTime\\": \\"2019-09-08T16:00:00Z\\",\\n \\"ApiKey\\": \\"cx/Y57lTNf*********\\",\\n \\"Description\\": \\"test\\",\\n \\"ModelParams\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"AiNodes\\": [\\n \\"ai-xxxxxxxxx\\"\\n ]\\n}","type":"json"}]', 'translator' => 'machine', ], 'DescribeModifyParameterLog' => [ 'summary' => 'Queries the parameter modification logs of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNYDSCU'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~196830~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-9dpm71ov2wxxq****', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-ddTHH:mmZ* format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => false, 'example' => '2023-01-03T16:00:00Z', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-ddTHH:mmZ* format. The time must be in UTC. The end time must be later than the start time.'."\n", 'type' => 'string', 'required' => false, 'example' => '2023-01-03T20:00:00Z', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '4FA1F1D1-50A6-4F60-9A78-5752F2076A53', 'title' => ''], 'Changelogs' => [ 'description' => 'The queried parameter modification logs.'."\n", 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'ParameterValueAfter' => ['description' => 'The original value of the parameter.'."\n", 'type' => 'string', 'example' => '100', 'title' => ''], 'ParameterName' => ['description' => 'The name of the parameter.'."\n", 'type' => 'string', 'example' => 'testkey', 'title' => ''], 'EffectTime' => ['description' => 'The effective time.'."\n", 'type' => 'string', 'example' => '2023-01-03T17:00:00Z', 'title' => ''], 'ParameterValueBefore' => ['description' => 'The new value of the parameter.'."\n", 'type' => 'string', 'example' => '200', 'title' => ''], 'ParameterValid' => ['description' => 'Indicates whether the modification takes effect.'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FA1F1D1-50A6-4F60-9A78-5752F2076A53\\",\\n \\"Changelogs\\": [\\n {\\n \\"ParameterValueAfter\\": \\"100\\",\\n \\"ParameterName\\": \\"testkey\\",\\n \\"EffectTime\\": \\"2023-01-03T17:00:00Z\\",\\n \\"ParameterValueBefore\\": \\"200\\",\\n \\"ParameterValid\\": \\"true\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'DescribeModifyParameterLog', 'changeSet' => [ ['createdAt' => '2023-07-06T12:00:27.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeModifyParameterLog'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeModifyParameterLog', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', ], 'DescribeNamespace' => [ 'summary' => 'Queries the information about a namespace.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182826', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-bp152460513z****', 'title' => ''], ], [ 'name' => 'ManagerAccount', 'in' => 'query', 'schema' => ['description' => 'The name of the manager account that has the rds_superuser permission.'."\n" ."\n" .'> You can create an account on the Account Management page of the AnalyticDB for PostgreSQL console or by calling the [CreateAccount](~~2361789~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testaccount', 'title' => ''], ], [ 'name' => 'ManagerAccountPassword', 'in' => 'query', 'schema' => ['description' => 'The password of the manager account.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace. Default value: public.'."\n" ."\n" .'> You can call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => true, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. You must specify one of the WorkspaceId and DBInstanceId parameters. If you specify both parameters, the WorkspaceId parameter takes effect.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'NamespaceInfo' => [ 'description' => 'The queried namespace.'."\n", 'type' => 'object', 'additionalProperties' => ['type' => 'string', 'example' => '{}', 'description' => 'The queried namespace.'."\n", 'title' => ''], 'title' => '', 'example' => '', ], 'Namespace' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'example' => 'mynamespace', 'title' => ''], 'DBInstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'gp-bp152460513z****', 'title' => ''], 'RegionId' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Successful', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"NamespaceInfo\\": {\\n \\"key\\": \\"{}\\"\\n },\\n \\"Namespace\\": \\"mynamespace\\",\\n \\"DBInstanceId\\": \\"gp-bp152460513z****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"Status\\": \\"success\\",\\n \\"Message\\": \\"Successful\\"\\n}","type":"json"}]', 'title' => 'DescribeNamespace', 'changeSet' => [ ['createdAt' => '2024-08-04T13:55:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-11-07T11:35:36.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNamespace'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DescribeNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Namespace', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:namespace/{#DBInstanceId}'], ], ], ], ], ], 'DescribeParameters' => [ 'summary' => 'Queries the information about configuration parameters for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNYDSCU'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp***************', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Parameters' => [ 'description' => 'The queried configuration parameters.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'IsChangeableConfig' => ['description' => 'Indicates whether the configuration parameter can be modified. Valid values:'."\n" ."\n" .'* **true**'."\n" .'* **false**'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''], 'ForceRestartInstance' => ['description' => 'Indicates whether a restart is required for parameter modifications to take effect. Valid values:'."\n" ."\n" .'* **true**'."\n" .'* **false**'."\n", 'type' => 'string', 'example' => 'false', 'title' => ''], 'OptionalRange' => ['description' => 'The valid values of the configuration parameter.'."\n", 'type' => 'string', 'example' => '[0-2147483647]', 'title' => ''], 'ParameterName' => ['description' => 'The name of the configuration parameter.'."\n", 'type' => 'string', 'example' => 'statement_timeout', 'title' => ''], 'ParameterValue' => ['description' => 'The default value of the configuration parameter.'."\n", 'type' => 'string', 'example' => '10800000', 'title' => ''], 'ParameterDescription' => ['description' => 'The description of the configuration parameter.'."\n", 'type' => 'string', 'example' => 'Sets the maximum allowed duration of any statement,A value of 0 turns off the timeout.', 'title' => ''], 'CurrentValue' => ['description' => 'The current value of the configuration parameter.'."\n", 'type' => 'string', 'example' => '10800000', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '62506167-D284-562A-B7C2-0A**********', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'DescribeParameters', 'description' => 'This operation can be called to query the details of parameters in an AnalyticDB for PostgreSQL instance in elastic storage mode or Serverless mode.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2023-07-06T12:00:27.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParameters'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeParameters', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Parameters\\": [\\n {\\n \\"IsChangeableConfig\\": \\"true\\",\\n \\"ForceRestartInstance\\": \\"false\\",\\n \\"OptionalRange\\": \\"[0-2147483647]\\",\\n \\"ParameterName\\": \\"statement_timeout\\",\\n \\"ParameterValue\\": \\"10800000\\",\\n \\"ParameterDescription\\": \\"Sets the maximum allowed duration of any statement,A value of 0 turns off the timeout.\\",\\n \\"CurrentValue\\": \\"10800000\\"\\n }\\n ],\\n \\"RequestId\\": \\"62506167-D284-562A-B7C2-0A**********\\"\\n}","errorExample":""},{"type":"xml","example":"\\n \\n [0-2147483647]\\n 10800000\\n true\\n 10800000\\n statement_timeout\\n Sets the maximum allowed duration of any statement,A value of 0 turns off the timeout.\\n false\\n \\n \\n [multi_write_ec|multi_write_sc|single]\\n single\\n true\\n multi_write_ec\\n rds_master_mode\\n Enable global strong consistency when rds_master_mode is set to multi_write_sc, and session consistency when rds_master_mode is set to multi_write_ec\\n true\\n \\n 62506167-D284-562A-B7C2-0A**********\\n","errorExample":""}]', ], 'DescribePrivateRAGService' => [ 'summary' => 'Obtains the details of a private RAG service.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdb4XJLZD'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) Interface to query the details of all AnalyticDB PostgreSQL Instances in the target region, including Instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'CaCert' => ['description' => 'CA certificate Info. The returned OSS link, valid for 2 hours.', 'type' => 'string', 'example' => 'https://oss-xxx', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'DescribePrivateRAGService', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribePrivateRAGService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"CaCert\\": \\"https://oss-xxx\\"\\n}","type":"json"}]', 'translator' => 'manual', ], 'DescribeRdsVSwitchs' => [ 'summary' => 'Queries a list of vSwitches.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbAXSDJ9'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The ID of the region.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list and zone list.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'default' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['description' => 'The virtual private cloud (VPC) ID of the instance.'."\n" ."\n" .'> '."\n" ."\n" .'* You can call the [DescribeRdsVpcs](~~208327~~) operation to query the available VPC IDs.'."\n" ."\n" .'* This parameter must be specified.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vpc-bp*******************', 'title' => ''], ], [ 'name' => 'ZoneId', 'in' => 'query', 'schema' => ['description' => 'The ID of the zone.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list and zone list.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-h', 'title' => ''], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'This parameter is no longer used.'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'B0BA251D-6854-5A99-A964-3C**********', 'title' => ''], 'VSwitches' => [ 'description' => 'Details of the vSwitches.'."\n", 'type' => 'object', 'properties' => [ 'VSwitch' => [ 'description' => 'Details of the vSwitch.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The state of the vSwitch. If **Available** is returned, the vSwitch is available.'."\n", 'type' => 'string', 'example' => 'Available', 'title' => ''], 'IsDefault' => ['description' => 'Indicates whether the vSwitch is the default vSwitch. Valid values:'."\n" ."\n" .'* **true**'."\n" .'* **false**'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], 'VSwitchId' => ['description' => 'The ID of the vSwitch.'."\n", 'type' => 'string', 'example' => 'vsw-bp*******************', 'title' => ''], 'CidrBlock' => ['description' => 'The CIDR block of the vSwitch.'."\n", 'type' => 'string', 'example' => '192.**.**.0/24', 'title' => ''], 'RegionNo' => ['description' => 'An invalid parameter. It is no longer returned when you call this operation.'."\n", 'type' => 'string', 'example' => 'null', 'title' => ''], 'GmtCreate' => ['description' => 'An invalid parameter. It is no longer returned when you call this operation.'."\n", 'type' => 'string', 'example' => 'null', 'title' => ''], 'AliUid' => ['description' => 'An invalid parameter. It is no longer returned when you call this operation.'."\n", 'type' => 'string', 'example' => 'null', 'title' => ''], 'GmtModified' => ['description' => 'An invalid parameter. It is no longer returned when you call this operation.'."\n", 'type' => 'string', 'example' => 'null', 'title' => ''], 'Bid' => ['description' => 'An invalid parameter. It is no longer returned when you call this operation.'."\n", 'type' => 'string', 'example' => 'null', 'title' => ''], 'IzNo' => ['description' => 'The ID of the zone.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou-h', 'title' => ''], 'VSwitchName' => ['description' => 'The name of the vSwitch.'."\n", 'type' => 'string', 'example' => 'vsw-name', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B0BA251D-6854-5A99-A964-3C**********\\",\\n \\"VSwitches\\": {\\n \\"VSwitch\\": [\\n {\\n \\"Status\\": \\"Available\\",\\n \\"IsDefault\\": false,\\n \\"VSwitchId\\": \\"vsw-bp*******************\\",\\n \\"CidrBlock\\": \\"192.**.**.0/24\\",\\n \\"RegionNo\\": \\"null\\",\\n \\"GmtCreate\\": \\"null\\",\\n \\"AliUid\\": \\"null\\",\\n \\"GmtModified\\": \\"null\\",\\n \\"Bid\\": \\"null\\",\\n \\"IzNo\\": \\"cn-hangzhou-h\\",\\n \\"VSwitchName\\": \\"vsw-name\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n B0BA251D-6854-5A99-A964-3C**********\\n \\n \\n Available\\n false\\n cn-hangzhou-h\\n vsw-bp*******************\\n 192.**.**.0/24\\n vsw-name\\n \\n \\n","errorExample":""}]', 'title' => 'DescribeRdsVSwitchs', 'description' => 'When you create AnalyticDB for PostgreSQL instances, you can call this operation to query the details of vSwitches within a specified region or zone.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2022-08-23T12:48:30.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRdsVSwitchs'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeRdsVSwitchs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DescribeRdsVpcs' => [ 'summary' => 'Queries a list of VPCs.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The ID of the region.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'default' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ZoneId', 'in' => 'query', 'schema' => ['description' => 'The ID of the zone.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-h', 'title' => ''], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'This parameter is no longer used.'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Vpcs' => [ 'description' => 'The queried VPCs.'."\n", 'type' => 'object', 'properties' => [ 'Vpc' => [ 'description' => 'The queried VPC.'."\n", 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The state of the VPC. If **Available** is returned, the VPC is available.'."\n", 'type' => 'string', 'example' => 'Available', 'title' => ''], 'VpcName' => ['description' => 'The name of the VPC.'."\n", 'type' => 'string', 'example' => 'vpc-name', 'title' => ''], 'VpcId' => ['description' => 'The VPC ID.'."\n", 'type' => 'string', 'example' => 'vpc-bp*******************', 'title' => ''], 'IsDefault' => ['description' => 'Indicates whether the VPC is the default VPC. Valid values:'."\n" ."\n" .'* **true**'."\n" .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'CidrBlock' => ['description' => 'The CIDR block of the VPC.'."\n", 'type' => 'string', 'example' => '10.**.**.0/8', 'title' => ''], 'RegionNo' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'GmtCreate' => ['description' => 'An invalid parameter. It is no longer returned when you call this operation.'."\n", 'type' => 'string', 'example' => 'null', 'title' => ''], 'AliUid' => ['description' => 'An invalid parameter. It is no longer returned when you call this operation.'."\n", 'type' => 'string', 'example' => 'null', 'title' => ''], 'VSwitchs' => [ 'description' => 'The queried vSwitches.'."\n", 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The state of the vSwitch. If **Available** is returned, the vSwitch is available.'."\n", 'type' => 'string', 'example' => 'Available', 'title' => ''], 'VSwitchId' => ['description' => 'The vSwitch ID.'."\n", 'type' => 'string', 'example' => 'vsw-bp*******************', 'title' => ''], 'IsDefault' => ['description' => 'Indicates whether the vSwitch is the default vSwitch. Valid values:'."\n" ."\n" .'* **true**'."\n" .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'CidrBlock' => ['description' => 'The CIDR block of the vSwitch.'."\n", 'type' => 'string', 'example' => '10.**.**.0/24', 'title' => ''], 'GmtCreate' => ['description' => 'An invalid parameter. It is no longer returned when you call this operation.'."\n", 'type' => 'string', 'example' => 'null', 'title' => ''], 'GmtModified' => ['description' => 'An invalid parameter. It is no longer returned when you call this operation.'."\n", 'type' => 'string', 'example' => 'null', 'title' => ''], 'IzNo' => ['description' => 'The ID of the zone to which the vSwitch belongs.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou-i', 'title' => ''], 'VSwitchName' => ['description' => 'The name of the vSwitch.'."\n", 'type' => 'string', 'example' => 'vsw-name', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'GmtModified' => ['description' => 'An invalid parameter. It is no longer returned when you call this operation.'."\n", 'type' => 'string', 'example' => 'null', 'title' => ''], 'Bid' => ['description' => 'An invalid parameter. It is no longer returned when you call this operation.'."\n", 'type' => 'string', 'example' => 'null', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '53924AF0-1628-5AA2-9C95-D4**********', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Vpcs\\": {\\n \\"Vpc\\": [\\n {\\n \\"Status\\": \\"Available\\",\\n \\"VpcName\\": \\"vpc-name\\",\\n \\"VpcId\\": \\"vpc-bp*******************\\",\\n \\"IsDefault\\": true,\\n \\"CidrBlock\\": \\"10.**.**.0/8\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"GmtCreate\\": \\"null\\",\\n \\"AliUid\\": \\"null\\",\\n \\"VSwitchs\\": [\\n {\\n \\"Status\\": \\"Available\\",\\n \\"VSwitchId\\": \\"vsw-bp*******************\\",\\n \\"IsDefault\\": true,\\n \\"CidrBlock\\": \\"10.**.**.0/24\\",\\n \\"GmtCreate\\": \\"null\\",\\n \\"GmtModified\\": \\"null\\",\\n \\"IzNo\\": \\"cn-hangzhou-i\\",\\n \\"VSwitchName\\": \\"vsw-name\\"\\n }\\n ],\\n \\"GmtModified\\": \\"null\\",\\n \\"Bid\\": \\"null\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"53924AF0-1628-5AA2-9C95-D4**********\\"\\n}","errorExample":""},{"type":"xml","example":"\\n \\n \\n false\\n cn-hangzhou\\n \\n Available\\n false\\n cn-hangzhou-h\\n vsw-bp*******************\\n 10.**.**.0/24\\n vsw-name\\n \\n vpc-bp*******************\\n 10.**.**.0/8\\n vpc-name\\n \\n \\n true\\n cn-hangzhou\\n \\n Available\\n true\\n cn-hangzhou-h\\n vsw-bp*******************\\n 172.**.**.0/20\\n \\n \\n vpc-bp*******************\\n 172.**.**.0/16\\n Private\\n \\n \\n 53924AF0-1628-5AA2-9C95-D4**********\\n","errorExample":""}]', 'title' => 'DescribeRdsVpcs', 'description' => 'When you create an AnalyticDB for PostgreSQL instance, you can call this operation to query the available VPCs within a specified region or zone.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2022-08-23T12:48:30.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRdsVpcs'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeRdsVpcs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DescribeRebalanceStatus' => [ 'summary' => 'Queries the rebalance status of an AnalyticDB for PostgreSQL instance.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '230782', 'abilityTreeNodes' => ['FEATUREgpdbV5LC5J'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-uf671c65jhszj****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '9C6122AD-2FCC-50B3-873A-37B68775****'], 'Status' => ['description' => 'The rebalance status of the instance. Valid values: Balanced and Imbalanced.'."\n", 'type' => 'string', 'example' => 'Balanced', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9C6122AD-2FCC-50B3-873A-37B68775****\\",\\n \\"Status\\": \\"Balanced\\"\\n}","type":"json"}]', 'title' => 'DescribeRebalanceStatus', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeRebalanceStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DescribeRegions' => [ 'summary' => 'Queries the regions and zones where you can create AnalyticDB for PostgreSQL instances.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '8432', 'abilityTreeNodes' => ['FEATUREgpdbAXSDJ9'], ], 'parameters' => [ [ 'name' => 'Region', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'FF8EB261-5447-4B1B-9F14-294CEA008A9F', 'title' => ''], 'Regions' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Region' => [ 'description' => 'The list of regions.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Zones' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Zone' => [ 'description' => 'The list of zones.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-c', 'title' => ''], 'VpcEnabled' => ['description' => 'Indicates whether a VPC is available in the zone. Valid values:'."\n" ."\n" .'- **true**: A VPC is available.'."\n" ."\n" .'- **false**: A VPC is unavailable.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => 'Details of the zone.', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], ], 'description' => 'Details of the region.', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FF8EB261-5447-4B1B-9F14-294CEA008A9F\\",\\n \\"Regions\\": {\\n \\"Region\\": [\\n {\\n \\"Zones\\": {\\n \\"Zone\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-c\\",\\n \\"VpcEnabled\\": true\\n }\\n ]\\n },\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'DescribeRegions', 'description' => 'Before you create an AnalyticDB for PostgreSQL instance, call this operation to query the available regions and zones.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2023-09-11T00:58:52.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [], 'translator' => 'manual', ], 'DescribeRoles' => [ 'summary' => 'Queries a list of roles.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '198024', 'abilityTreeNodes' => ['FEATUREgpdb4XJ12W'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'RoleList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Role' => [ 'description' => 'The roles.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the role.'."\n", 'type' => 'string', 'example' => 'testrole', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"RoleList\\": {\\n \\"Role\\": [\\n \\"testrole\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => 'DescribeRoles', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRoles'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeRoles', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeSQLLogCount' => [ 'summary' => 'Obtain the quantity of audit logs for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbC727J2'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxx', 'title' => ''], ], [ 'name' => 'QueryKeywords', 'in' => 'query', 'schema' => ['description' => 'The keywords that are used to query audit logs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => true, 'example' => '2020-12-12T11:22Z', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testdb', 'title' => ''], ], [ 'name' => 'User', 'in' => 'query', 'schema' => ['description' => 'The name of the database account that is used to connect to the database.'."\n", 'type' => 'string', 'required' => false, 'example' => 'adbpgadmin', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n" ."\n" .'> The end time must be later than the start time. The maximum time range that can be specified is seven days.'."\n", 'type' => 'string', 'required' => true, 'example' => '2020-12-14T11:22Z', 'title' => ''], ], [ 'name' => 'ExecuteCost', 'in' => 'query', 'schema' => ['description' => 'The execution duration of the SQL statement. Unit: seconds.'."\n", 'type' => 'string', 'required' => false, 'example' => '100', 'title' => ''], ], [ 'name' => 'SourceIP', 'in' => 'query', 'schema' => ['description' => 'The source IP address.'."\n", 'type' => 'string', 'required' => false, 'example' => '10.**.**.13', 'title' => ''], ], [ 'name' => 'ExecuteState', 'in' => 'query', 'schema' => ['description' => 'The execution status of the query. Valid values:'."\n" ."\n" .'* 1: successful.'."\n" .'* 0: failed.'."\n" .'* 0,1 or 1,0: all.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'OperationClass', 'in' => 'query', 'schema' => ['description' => 'The type of the query language. Valid values:'."\n" ."\n" .'* **DQL**'."\n" .'* **DML**'."\n" .'* **DDL**'."\n" .'* **DCL**'."\n" .'* **TCL**'."\n", 'type' => 'string', 'required' => false, 'example' => 'DQL', 'title' => ''], ], [ 'name' => 'OperationType', 'in' => 'query', 'schema' => ['description' => 'The type of the SQL statement.'."\n" ."\n" .'> '."\n" ."\n" .'* If you specify **OperationClass**, the value of **OperationType** must be of the corresponding query language. For example, if you set **OperationClass** to **DQL**, the value of **OperationType** must be a **DQL** statement such as **SELECT**.'."\n" ."\n" .'* If you leave **OperationClass** empty, the value of **OperationType** can be an SQL statement of any query language.'."\n" ."\n" .'* If you leave **OperationClass** and **OperationType** empty, all types of SQL statements are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SELECT', 'title' => ''], ], [ 'name' => 'MaxExecuteCost', 'in' => 'query', 'schema' => ['description' => 'The maximum amount of time consumed by a slow query. Unit: seconds. Minimum value: 0.'."\n", 'type' => 'string', 'required' => false, 'example' => '1000', 'title' => ''], ], [ 'name' => 'MinExecuteCost', 'in' => 'query', 'schema' => ['description' => 'The minimum amount of time consumed by a slow query. Unit: seconds. Minimum value: 0.'."\n", 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'EndTime' => ['description' => 'The end time of the query.'."\n", 'type' => 'string', 'example' => '2020-12-14T11:22Z', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '7565770E-7C45-462D-BA4A-8A**********', 'title' => ''], 'StartTime' => ['description' => 'The start time of the query.'."\n", 'type' => 'string', 'example' => '2020-12-12T11:22Z', 'title' => ''], 'DBClusterId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'gp-xxxxxxxx', 'title' => ''], 'Items' => [ 'description' => 'The name of the instance.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Series' => [ 'description' => 'Details of the audit logs.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Values' => [ 'description' => 'Details of the audit logs.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Point' => [ 'description' => 'The time when the audit logs were generated and the number of the audit logs.'."\n", 'type' => 'array', 'items' => ['description' => 'Audit log generation time and quantity.', 'type' => 'string', 'example' => '2020-12-14T11:00:00Z,100', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'Name' => ['description' => 'The name of the table.'."\n", 'type' => 'string', 'example' => 'gp-xxxxxxxx', 'title' => ''], ], 'description' => 'The time when the audit logs were generated and the number of the audit logs.'."\n", 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2020-12-14T11:22Z\\",\\n \\"RequestId\\": \\"7565770E-7C45-462D-BA4A-8A**********\\",\\n \\"StartTime\\": \\"2020-12-12T11:22Z\\",\\n \\"DBClusterId\\": \\"gp-xxxxxxxx\\",\\n \\"Items\\": [\\n {\\n \\"Series\\": [\\n {\\n \\"Values\\": [\\n {\\n \\"Point\\": [\\n \\"2020-12-14T11:00:00Z,100\\"\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Name\\": \\"gp-xxxxxxxx\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'Obtain the Quantity of SQL Audit Logs', 'description' => 'This API does not support instances of the storage-reserved type.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSQLLogCount'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeSQLLogCount', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'DescribeSQLLogs' => [ 'summary' => 'Queries the SQL execution logs of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances within a region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxx', 'title' => ''], ], [ 'name' => 'QueryKeywords', 'in' => 'query', 'schema' => ['description' => 'The keywords of the SQL statement.'."\n", 'type' => 'string', 'required' => false, 'example' => 'select 1', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-ddTHH:mmZ* format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => true, 'example' => '2021-03-10T06:30Z', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => false, 'example' => 'adbpgadmin', 'title' => ''], ], [ 'name' => 'User', 'in' => 'query', 'schema' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testadmin', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-ddTHH:mmZ* format. The time must be in UTC.'."\n" ."\n" .'> The end time must be later than the start time. The maximum time range that can be specified is seven days.'."\n", 'type' => 'string', 'required' => true, 'example' => '2021-03-17T06:30Z', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" ."\n" .'* **30**'."\n" .'* **50**'."\n" .'* **100**'."\n" ."\n" .'Default value: **30**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '200', 'minimum' => '0', 'example' => '30', 'default' => '10', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. Pages start from page 1. Default value: 1.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2147483647', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => ''], ], [ 'name' => 'ExecuteCost', 'in' => 'query', 'schema' => ['description' => 'The execution duration of the SQL statement. Unit: seconds.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'SourceIP', 'in' => 'query', 'schema' => ['description' => 'The source IP address.'."\n", 'type' => 'string', 'required' => false, 'example' => '100.**.**.90', 'title' => ''], ], [ 'name' => 'ExecuteState', 'in' => 'query', 'schema' => ['description' => 'The execution status of the SQL statement. Valid values:'."\n" ."\n" .'* **1**: successful.'."\n" .'* **0**: failed.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'OperationClass', 'in' => 'query', 'schema' => ['description' => 'The type of the query language. Valid values:'."\n" ."\n" .'* **DQL**'."\n" .'* **DML**'."\n" .'* **DDL**'."\n" .'* **DCL**'."\n" .'* **TCL**'."\n", 'type' => 'string', 'required' => false, 'example' => 'DQL', 'title' => ''], ], [ 'name' => 'OperationType', 'in' => 'query', 'schema' => ['description' => 'The type of the SQL statement.'."\n" ."\n" .'> '."\n" ."\n" .'* If **OperationClass** is specified, the value of **OperationType** must belong to the corresponding query language. For example, if **OperationClass** is set to **DQL**, the value of **OperationType** must be a **DQL** statement such as **SELECT**.'."\n" ."\n" .'* If **OperationClass** is not specified, the value of **OperationType** can be an SQL statement of any query language.'."\n" .'* If **OperationClass** and **OperationType** are not specified, all types of SQL statements are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SELECT', 'title' => ''], ], [ 'name' => 'MaxExecuteCost', 'in' => 'query', 'schema' => ['description' => 'The maximum amount of time consumed by a slow query. Unit: seconds. Minimum value: 0.'."\n", 'type' => 'string', 'required' => false, 'example' => '1000', 'title' => ''], ], [ 'name' => 'MinExecuteCost', 'in' => 'query', 'schema' => ['description' => 'The minimum amount of time consumed by a slow query. Unit: seconds. Minimum value: 0.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'PageRecordCount' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'A7941C94-B92F-46A0-BD3E-2D**********', 'title' => ''], 'PageNumber' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Items' => [ 'description' => 'The queried SQL execution logs.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'OperationClass' => ['description' => 'The type of the query language.'."\n", 'type' => 'string', 'example' => 'DQL', 'title' => ''], 'ExecuteState' => ['description' => 'The execution status of the SQL statement. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**', 'type' => 'string', 'example' => 'success', 'title' => ''], 'ExecuteCost' => ['description' => 'The execution duration of the SQL statement.', 'type' => 'number', 'format' => 'float', 'example' => '2', 'title' => ''], 'SQLText' => ['description' => 'The SQL statement.'."\n", 'type' => 'string', 'example' => 'select 1', 'title' => ''], 'SourcePort' => ['description' => 'The number of the source port.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '50514', 'title' => ''], 'DBRole' => ['description' => 'The role of the database.'."\n", 'type' => 'string', 'example' => 'master', 'title' => ''], 'OperationType' => ['description' => 'The type of the SQL statement.'."\n", 'type' => 'string', 'example' => 'SELECT', 'title' => ''], 'SourceIP' => ['description' => 'The source IP address.'."\n", 'type' => 'string', 'example' => '100.**.**.90', 'title' => ''], 'SQLPlan' => ['description' => 'The SQL execution plan.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], 'ReturnRowCounts' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'DBName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'adbpgadmin', 'title' => ''], 'OperationExecuteTime' => ['description' => 'The time when the SQL statement was executed.'."\n", 'type' => 'string', 'example' => '2021-03-15T17:02:32Z', 'title' => ''], 'ScanRowCounts' => ['description' => 'The number of entries scanned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'AccountName' => ['description' => 'The database account that executes the SQL statement.'."\n", 'type' => 'string', 'example' => 'testadmin', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageRecordCount\\": 1,\\n \\"RequestId\\": \\"A7941C94-B92F-46A0-BD3E-2D**********\\",\\n \\"PageNumber\\": 1,\\n \\"Items\\": [\\n {\\n \\"OperationClass\\": \\"DQL\\",\\n \\"ExecuteState\\": \\"success\\",\\n \\"ExecuteCost\\": 2,\\n \\"SQLText\\": \\"select 1\\",\\n \\"SourcePort\\": 50514,\\n \\"DBRole\\": \\"master\\",\\n \\"OperationType\\": \\"SELECT\\",\\n \\"SourceIP\\": \\"100.**.**.90\\",\\n \\"SQLPlan\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ReturnRowCounts\\": 1,\\n \\"DBName\\": \\"adbpgadmin\\",\\n \\"OperationExecuteTime\\": \\"2021-03-15T17:02:32Z\\",\\n \\"ScanRowCounts\\": 1,\\n \\"AccountName\\": \\"testadmin\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n A7941C94-B92F-46A0-BD3E-2D**********\\n 1\\n \\n DQL\\n success\\n 2\\n select 1\\n 50514\\n master\\n SELECT\\n 100.**.**.90\\n \\"\\"\\n 1\\n adbpgadmin\\n 2021-03-15T17:02:32Z\\n 1\\n testadmin\\n \\n","errorExample":""}]', 'title' => 'DescribeSQLLogs', 'description' => '> This operation is no longer used. To query SQL execution logs, call the [DescribeSQLLogsV2](~~453722~~) operation.'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSQLLogs'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeSQLLogs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeSQLLogsV2' => [ 'summary' => 'Queries SQL logs within a specific time range.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbC727J2'], 'autoTest' => false, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'The ID of the resource group to which the instance belongs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The beginning of the time range. Specify the time in the ISO 8601 standard in the *yyyy-MM-ddTHH:mmZ* format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2022-03-10T06:30Z', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-ddTHH:mmZ* format. The time must be in UTC.'."\n" ."\n" .'> The end time must be later than the start time. The interval cannot be more than 24 hours.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2022-03-17T06:30Z', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxx', 'title' => ''], ], [ 'name' => 'QueryKeywords', 'in' => 'query', 'schema' => ['description' => 'The keywords of the SQL statement.'."\n", 'type' => 'string', 'required' => false, 'example' => 'select 1', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => false, 'example' => 'adbpgadmin', 'title' => ''], ], [ 'name' => 'User', 'in' => 'query', 'schema' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testadmin', 'title' => ''], ], [ 'name' => 'ExecuteCost', 'in' => 'query', 'schema' => ['description' => 'The execution duration of the SQL statement. Unit: seconds.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'SourceIP', 'in' => 'query', 'schema' => ['description' => 'The source IP address.'."\n", 'type' => 'string', 'required' => false, 'example' => '100.XX.XX.90', 'title' => ''], ], [ 'name' => 'ExecuteState', 'in' => 'query', 'schema' => ['description' => 'The execution status of the SQL statement. Valid values:'."\n" ."\n" .'* **1**: successful.'."\n" .'* **0**: failed.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'OperationClass', 'in' => 'query', 'schema' => ['description' => 'The type of the query language. Valid values:'."\n" ."\n" .'* **DQL**'."\n" .'* **DML**'."\n" .'* **DDL**'."\n" .'* **DCL**'."\n" .'* **TCL**'."\n", 'type' => 'string', 'required' => false, 'example' => 'DQL', 'title' => ''], ], [ 'name' => 'OperationType', 'in' => 'query', 'schema' => ['description' => 'The type of the SQL statement.'."\n" ."\n" .'> * If the **OperationClass** parameter is specified, the **OperationType** value must belong to the corresponding query language. For example, if the **OperationClass** value is **DQL**, the **OperationType** value must be a **DQL** SQL statement such as **SELECT**.'."\n" .'>* If the **OperationClass** parameter is not specified, the **OperationType** value can be an SQL statement of all query languages.'."\n" .'>* If neither of the **OperationClass** and **OperationType** parameters is specified, all types of SQL statements are returned.', 'type' => 'string', 'required' => false, 'example' => 'SELECT', 'title' => ''], ], [ 'name' => 'MaxExecuteCost', 'in' => 'query', 'schema' => ['description' => 'The maximum amount of time consumed by a slow query. Minimum value: 0. Unit: seconds.'."\n", 'type' => 'string', 'required' => false, 'example' => '1000', 'title' => ''], ], [ 'name' => 'MinExecuteCost', 'in' => 'query', 'schema' => ['description' => 'The minimum amount of time consumed by a slow query. Minimum value: 0. Unit: seconds.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of the page to return. The maximum value is 200.'."\n", 'type' => 'string', 'required' => false, 'example' => '30', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'AccessDeniedDetail' => ['description' => 'The details about the access denial.'."\n", 'type' => 'string', 'example' => 'account name invalid', 'title' => ''], 'Items' => [ 'description' => 'The queried SQL execution logs.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'AccountName' => ['description' => 'The database account that executes the SQL statement.'."\n", 'type' => 'string', 'example' => 'testadmin', 'title' => ''], 'DBName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'adbpgadmin', 'title' => ''], 'DBRole' => ['description' => 'The role of the database.'."\n", 'type' => 'string', 'example' => 'master', 'title' => ''], 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'InternalError', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'User not authorized to operate on the specified resource.', 'title' => ''], 'ExecuteCost' => ['description' => 'The execution duration of the SQL statement.', 'type' => 'number', 'format' => 'float', 'example' => '2', 'title' => ''], 'ExecuteState' => ['description' => 'The execution status of the SQL statement. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**', 'type' => 'string', 'example' => 'success', 'title' => ''], 'OperationClass' => ['description' => 'The type of the query language.'."\n", 'type' => 'string', 'example' => 'DQL', 'title' => ''], 'OperationExecuteTime' => ['description' => 'The time when the SQL statement was executed.'."\n", 'type' => 'string', 'example' => '2021-03-15T17:02:32Z', 'title' => ''], 'OperationType' => ['description' => 'The type of the SQL statement.'."\n", 'type' => 'string', 'example' => 'SELECT', 'title' => ''], 'ReturnRowCounts' => ['description' => 'The number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'SQLText' => ['description' => 'The SQL statement.'."\n", 'type' => 'string', 'example' => 'select 1', 'title' => ''], 'ScanRowCounts' => ['description' => 'The number of entries scanned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'SourceIP' => ['description' => 'The source IP address.'."\n", 'type' => 'string', 'example' => '100.**.**.90', 'title' => ''], 'SourcePort' => ['description' => 'The number of the source port.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '50514', 'title' => ''], 'QueryId' => ['description' => 'The query ID.'."\n", 'type' => 'string', 'example' => '2548026401648157601713924318883', 'title' => ''], 'SessionId' => ['description' => 'The ID of the session.'."\n", 'type' => 'string', 'example' => '3a74656836ec5255a4793def0a447b02', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'PageNumber' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageRecordCount' => ['description' => 'The number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A7941C94-B92F-46A0-BD3E-2D**********', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"type":"json","example":"{\\n \\"AccessDeniedDetail\\": \\"account name invalid\\",\\n \\"Items\\": [\\n {\\n \\"AccountName\\": \\"testadmin\\",\\n \\"DBName\\": \\"adbpgadmin\\",\\n \\"DBRole\\": \\"master\\",\\n \\"ErrorCode\\": \\"InternalError\\",\\n \\"ErrorMsg\\": \\"User not authorized to operate on the specified resource.\\",\\n \\"ExecuteCost\\": 2,\\n \\"ExecuteState\\": \\"success\\",\\n \\"OperationClass\\": \\"DQL\\",\\n \\"OperationExecuteTime\\": \\"2021-03-15T17:02:32Z\\",\\n \\"OperationType\\": \\"SELECT\\",\\n \\"ReturnRowCounts\\": 1,\\n \\"SQLText\\": \\"select 1\\",\\n \\"ScanRowCounts\\": 1,\\n \\"SourceIP\\": \\"100.**.**.90\\",\\n \\"SourcePort\\": 50514,\\n \\"QueryId\\": \\"2548026401648157601713924318883\\",\\n \\"SessionId\\": \\"3a74656836ec5255a4793def0a447b02\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageRecordCount\\": 1,\\n \\"RequestId\\": \\"A7941C94-B92F-46A0-BD3E-2D**********\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n A7941C94-B92F-46A0-BD3E-2D**********\\n 1\\n \\n DQL\\n success\\n 2\\n select 1\\n 50514\\n master\\n SELECT\\n 100.**.**.90\\n \\"\\"\\n 1\\n adbpgadmin\\n 2021-03-15T17:02:32Z\\n 1\\n testadmin\\n \\n","errorExample":""}]', 'title' => 'DescribeSQLLogsV2', 'description' => 'You can call this operation to query SQL logs of an AnalyticDB for PostgreSQL instance within a specific time range.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2024-10-30T04:00:23.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2024-10-23T09:30:34.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2023-08-02T12:21:09.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2022-12-30T03:37:41.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSQLLogsV2'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeSQLLogsV2', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeSampleData' => [ 'summary' => 'Queries whether a sample dataset is loaded to an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbPA9FLY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a specific region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '84CD7CAF-FA7B-5178-B19F-D8CDE307D5FA_8111', 'title' => ''], 'HasSampleData' => ['description' => 'Indicates whether a sample dataset is loaded to the instance. Valid values:'."\n" ."\n" .'* **true**: A sample dataset is loaded.'."\n" .'* **false**: No sample dataset is loaded.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'ErrorMessage' => ['description' => 'The error message returned if an error occurs. This message does not affect the execution of the operation.'."\n", 'type' => 'string', 'example' => '******', 'title' => ''], 'DBInstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], 'SampleDataStatus' => ['description' => 'The loading status of the sample dataset. Valid values:'."\n" ."\n" .'* **loaded**'."\n" .'* **loading**'."\n" .'* **unload**'."\n", 'type' => 'string', 'example' => 'loaded', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"84CD7CAF-FA7B-5178-B19F-D8CDE307D5FA_8111\\",\\n \\"HasSampleData\\": true,\\n \\"ErrorMessage\\": \\"******\\",\\n \\"DBInstanceId\\": \\"gp-bp12ga6v69h86****\\",\\n \\"SampleDataStatus\\": \\"loaded\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 84CD7CAF-FA7B-5178-B19F-D8CDE307D5FA_8111\\n true\\n gp-bp12ga6v69h86****\\n","errorExample":""}]', 'title' => 'DescribeSampleData', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSampleData'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeSampleData', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'description' => '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.', ], 'DescribeStreamingDataService' => [ 'summary' => 'Queries a real-time data service.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '198256', 'abilityTreeNodes' => ['FEATUREgpdbGXMEN1', 'FEATUREgpdbO4XFZ3'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ServiceId', 'in' => 'query', 'schema' => ['description' => 'The service ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp10g78o9807yv9h3', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'ServiceId' => ['description' => 'The service ID.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], 'ServiceName' => ['description' => 'The name of the service.'."\n", 'type' => 'string', 'example' => 'test-adbpgss', 'title' => ''], 'ServiceDescription' => ['description' => 'The description of the service.'."\n", 'type' => 'string', 'example' => 'test-adbpgss', 'title' => ''], 'ServiceSpec' => ['description' => 'The specifications of the service.'."\n", 'type' => 'string', 'example' => '2', 'title' => ''], 'Status' => ['description' => 'The status of the service. Valid values:'."\n" ."\n" .'* Init'."\n" .'* Running'."\n" .'* Exception'."\n" .'* Paused'."\n", 'type' => 'string', 'example' => 'Running', 'title' => ''], 'ServiceIp' => ['description' => 'The IP address of the service.'."\n", 'type' => 'string', 'example' => '192.168.0.1', 'title' => ''], 'ServicePort' => ['description' => 'The port number of the service.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5432', 'title' => ''], 'CreateTime' => ['description' => 'The time when the service was created.'."\n", 'type' => 'string', 'example' => '2019-09-08T16:00:00Z', 'title' => ''], 'ModifyTime' => ['description' => 'The time when the service was last modified.'."\n", 'type' => 'string', 'example' => '2019-09-08T17:00:00Z', 'title' => ''], 'ServiceManaged' => ['type' => 'boolean', 'description' => 'The service is managed by other aliyun product or not.', 'example' => 'False', 'title' => ''], 'ServiceOwnerId' => ['type' => 'string', 'description' => 'The service account uid of the aliyun product', 'example' => '123456', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"ServiceId\\": \\"1\\",\\n \\"ServiceName\\": \\"test-adbpgss\\",\\n \\"ServiceDescription\\": \\"test-adbpgss\\",\\n \\"ServiceSpec\\": \\"2\\",\\n \\"Status\\": \\"Running\\",\\n \\"ServiceIp\\": \\"192.168.0.1\\",\\n \\"ServicePort\\": 5432,\\n \\"CreateTime\\": \\"2019-09-08T16:00:00Z\\",\\n \\"ModifyTime\\": \\"2019-09-08T17:00:00Z\\",\\n \\"ServiceManaged\\": true,\\n \\"ServiceOwnerId\\": \\"123456\\"\\n}","type":"json"}]', 'title' => 'DescribeStreamingDataService', 'changeSet' => [ ['createdAt' => '2024-06-27T13:47:40.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStreamingDataService'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DescribeStreamingDataService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeStreamingDataSource' => [ 'summary' => 'Get external data source configuration information', 'methods' => ['post', 'get', 'put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbYL5VZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) API to view available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gp-bp10g78o9807yv9h3', 'title' => ''], ], [ 'name' => 'DataSourceId', 'in' => 'query', 'schema' => ['description' => 'Data source ID.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'DataSourceId' => ['description' => 'Data source ID.', 'type' => 'string', 'example' => '1', 'title' => ''], 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'DataSourceName' => ['description' => 'Data source name.', 'type' => 'string', 'example' => 'test-kafka', 'title' => ''], 'DataSourceDescription' => ['description' => 'Data source description.', 'type' => 'string', 'example' => 'test-kafka', 'title' => ''], 'Status' => ['description' => 'Service status:'."\n" ."\n" .'- Initializing init'."\n" ."\n" .'- Running running'."\n" ."\n" .'- Exception exception', 'type' => 'string', 'example' => 'running', 'title' => ''], 'ErrorMessage' => ['description' => 'Service status message, for example, in case of an exception, it will show the reason for the exception. In normal Running state, this value is empty.', 'type' => 'string', 'example' => '""', 'title' => ''], 'CreateTime' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2019-09-08T16:00:00Z', 'title' => ''], 'DataSourceConfig' => ['description' => 'Data source configuration information.', 'type' => 'string', 'example' => '{"brokers":"broker0:9091,broker1:9091","topic":"topic"}', 'title' => ''], 'ServiceId' => ['description' => 'External data service ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'DataSourceType' => ['description' => 'Data source type, values include:'."\n" .' - kafka', 'type' => 'string', 'example' => 'kafka', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DataSourceId\\": \\"1\\",\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"DataSourceName\\": \\"test-kafka\\",\\n \\"DataSourceDescription\\": \\"test-kafka\\",\\n \\"Status\\": \\"running\\",\\n \\"ErrorMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"CreateTime\\": \\"2019-09-08T16:00:00Z\\",\\n \\"DataSourceConfig\\": \\"{\\\\\\"brokers\\\\\\":\\\\\\"broker0:9091,broker1:9091\\\\\\",\\\\\\"topic\\\\\\":\\\\\\"topic\\\\\\"}\\",\\n \\"ServiceId\\": 1,\\n \\"DataSourceType\\": \\"kafka\\"\\n}","type":"json"}]', 'title' => 'Query Real-time Data Source', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStreamingDataSource'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeStreamingDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'DescribeStreamingJob' => [ 'summary' => 'Queries a real-time data synchronization job.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbO4XFZ3', 'FEATUREgpdbGXMEN1'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) interface to view available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'JobId', 'in' => 'query', 'schema' => ['description' => 'Job ID.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-bp10g78o9807yv9h3', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'JobId' => ['description' => 'Job ID.', 'type' => 'string', 'example' => '1', 'title' => ''], 'JobName' => ['description' => 'Job name.', 'type' => 'string', 'example' => 'test-job', 'title' => ''], 'JobDescription' => ['description' => 'Job description.', 'type' => 'string', 'example' => 'test_job', 'title' => ''], 'DataSourceId' => ['description' => 'Data source ID.', 'type' => 'string', 'example' => '2', 'title' => ''], 'SrcColumns' => [ 'description' => 'Source field list.', 'type' => 'array', 'items' => ['description' => 'Source data field key.', 'type' => 'string', 'example' => 'src_column_1', 'title' => ''], 'title' => '', 'example' => '', ], 'DestColumns' => [ 'description' => 'Target data table mapping field list.', 'type' => 'array', 'items' => ['description' => 'Mapping field key in the target table.', 'type' => 'string', 'example' => 'dest_column_1', 'title' => ''], 'title' => '', 'example' => '', ], 'MatchColumns' => [ 'description' => 'Match columns, usually all primary key columns of the target table. If all column values in this configuration are the same, the two rows of data are considered duplicates.', 'type' => 'array', 'items' => ['description' => 'Match field key.', 'type' => 'string', 'example' => 'column_1', 'title' => ''], 'title' => '', 'example' => '', ], 'UpdateColumns' => [ 'description' => 'Update columns, usually all non-primary key columns of the target table. When data duplication is determined through MatchColumns, updating the UpdateColumns column values will result in new data overwriting old data.', 'type' => 'array', 'items' => ['description' => 'Update field key.', 'type' => 'string', 'example' => 'column_1', 'title' => ''], 'title' => '', 'example' => '', ], 'Account' => ['description' => 'Target database account.', 'type' => 'string', 'example' => 'test-account', 'title' => ''], 'Password' => ['description' => 'Target database password.', 'type' => 'string', 'example' => 'pwd123', 'title' => ''], 'DestDatabase' => ['description' => 'Target database name.', 'type' => 'string', 'example' => 'dest-db', 'title' => ''], 'DestSchema' => ['description' => 'Target namespace.', 'type' => 'string', 'example' => 'dest-schema', 'title' => ''], 'DestTable' => ['description' => 'Target table name.', 'type' => 'string', 'example' => 'dest-table', 'title' => ''], 'WriteMode' => ['description' => 'Write mode.', 'type' => 'string', 'example' => 'INSERT/UPDATE/MERGE', 'title' => ''], 'Mode' => ['description' => 'Configuration mode'."\n" .'1. Basic mode requires specifying some configuration fields'."\n" .'1. Professional mode supports submitting YAML files', 'type' => 'string', 'example' => 'basic/professional', 'title' => ''], 'JobConfig' => ['description' => 'Job configuration file.', 'type' => 'string', 'example' => 'DATABASE: adbpgss_test'."\n" .'USER: adbpgss_test'."\n" .'PASSWORD: adbpgssTest'."\n" .'HOST: gp-xxx-master.gpdb.rds-aliyun-pre.rds.aliyuncs.com'."\n" .'PORT: 5432'."\n" .'KAFKA:'."\n" .' INPUT:'."\n" .' SOURCE:'."\n" .' BROKERS: broker1:9092,broker2:9092,broker3:9092'."\n" .' TOPIC: testtopic'."\n" .' FALLBACK_OFFSET: earliest'."\n" .' KEY:'."\n" .' COLUMNS:'."\n" .' - NAME: customer_id'."\n" .' TYPE: int'."\n" .' FORMAT: delimited'."\n" .' DELIMITED_OPTION:'."\n" .' DELIMITER: \'|\''."\n" .' VALUE:'."\n" .' COLUMNS:'."\n" .' - TYPE: integer'."\n" .' NAME: l_orderkey'."\n" .' - TYPE: integer'."\n" .' NAME: l_partkey'."\n" .' - TYPE: integer'."\n" .' NAME: l_suppkey'."\n" .' - TYPE: integer'."\n" .' NAME: l_linenumber'."\n" .' - TYPE: decimal'."\n" .' NAME: l_quantity'."\n" .' - TYPE: decimal'."\n" .' NAME: l_extendedprice'."\n" .' - TYPE: decimal'."\n" .' NAME: l_discount'."\n" .' - TYPE: decimal'."\n" .' NAME: l_tax'."\n" .' - TYPE: char'."\n" .' NAME: l_returnflag'."\n" .' - TYPE: char'."\n" .' NAME: l_linestatus'."\n" .' - TYPE: date'."\n" .' NAME: l_shipdate'."\n" .' - TYPE: date'."\n" .' NAME: l_commitdate'."\n" .' - TYPE: date'."\n" .' NAME: l_receiptdate'."\n" .' - TYPE: text'."\n" .' NAME: l_shipinstruct'."\n" .' - TYPE: text'."\n" .' NAME: l_shipmode'."\n" .' - TYPE: text'."\n" .' NAME: l_comment'."\n" .' FORMAT: delimited'."\n" .' DELIMITED_OPTION:'."\n" .' DELIMITER: \'|\''."\n" .' ERROR_LIMIT: 10'."\n" .' OUTPUT:'."\n" .' SCHEMA: adbpgss_test'."\n" .' TABLE: write_with_insert_plaintext'."\n" .' MODE: MERGE'."\n" .' MATCH_COLUMNS:'."\n" .' - l_orderkey'."\n" .' - l_partkey'."\n" .' - l_suppkey'."\n" .' UPDATE_COLUMNS:'."\n" .' - l_linenumber'."\n" .' - l_quantity'."\n" .' - l_extendedprice'."\n" .' - l_discount'."\n" .' - l_tax'."\n" .' - l_returnflag'."\n" .' - l_linestatus'."\n" .' - l_shipdate'."\n" .' - l_commitdate'."\n" .' - l_receiptdate'."\n" .' - l_shipinstruct'."\n" .' - l_shipmode'."\n" .' - l_comment'."\n" .' MAPPING:'."\n" .' - EXPRESSION: l_orderkey'."\n" .' NAME: l_orderkey'."\n" .' - EXPRESSION: l_partkey'."\n" .' NAME: l_partkey'."\n" .' - EXPRESSION: l_suppkey'."\n" .' NAME: l_suppkey'."\n" .' - EXPRESSION: l_linenumber'."\n" .' NAME: l_linenumber'."\n" .' - EXPRESSION: l_quantity'."\n" .' NAME: l_quantity'."\n" .' - EXPRESSION: l_extendedprice'."\n" .' NAME: l_extendedprice'."\n" .' - EXPRESSION: l_discount'."\n" .' NAME: l_discount'."\n" .' - EXPRESSION: l_tax'."\n" .' NAME: l_tax'."\n" .' - EXPRESSION: l_returnflag'."\n" .' NAME: l_returnflag'."\n" .' - EXPRESSION: l_linestatus'."\n" .' NAME: l_linestatus'."\n" .' - EXPRESSION: l_shipdate'."\n" .' NAME: l_shipdate'."\n" .' - EXPRESSION: l_commitdate'."\n" .' NAME: l_commitdate'."\n" .' - EXPRESSION: l_receiptdate'."\n" .' NAME: l_receiptdate'."\n" .' - EXPRESSION: l_shipinstruct'."\n" .' NAME: l_shipinstruct'."\n" .' - EXPRESSION: l_shipmode'."\n" .' NAME: l_shipmode'."\n" .' - EXPRESSION: l_comment'."\n" .' NAME: l_comment'."\n" .' COMMIT:'."\n" .' MAX_ROW: 1000'."\n" .' MINIMAL_INTERVAL: 1000'."\n" .' CONSISTENCY: ATLEAST'."\n" .' POLL:'."\n" .' BATCHSIZE: 1000'."\n" .' TIMEOUT: 1000'."\n" .' PROPERTIES:'."\n" .' group.id: testgroup', 'title' => ''], 'Status' => ['description' => 'Service status, with possible values:'."\n" ."\n" .'- Init: Initializing'."\n" ."\n" .'- Running: Running'."\n" ."\n" .'- Exception: Exception'."\n" ."\n" .'- Paused: Paused', 'type' => 'string', 'example' => 'Running', 'title' => ''], 'ErrorMessage' => ['description' => 'Service status information, such as the reason for an exception. It is empty in the normal Running state.', 'type' => 'string', 'example' => '""', 'title' => ''], 'CreateTime' => ['description' => 'Creation time.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '2019-09-08T16:00:00Z', 'title' => ''], 'ModifyTime' => ['description' => 'Last modified time.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '2019-09-08T17:00:00Z', 'title' => ''], 'GroupName' => ['description' => 'Kafka group name', 'type' => 'string', 'example' => 'test_group', 'title' => ''], 'Consistency' => ['description' => 'Delivery guarantee.', 'type' => 'string', 'example' => 'ATLEAST / EXACTLY', 'title' => ''], 'ErrorLimitCount' => ['description' => 'When data in Kafka does not match the ADBPG target table, it can cause write failures. This value represents the number of error rows allowed; if exceeded, the task will fail.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], 'FallbackOffset' => ['description' => 'Fallback offset, which is the fallback position'."\n" ."\n" .'- The FallbackOffset parameter defines the behavior when the consumer has not requested a specific offset to consume or the requested offset exceeds the current record\'s offset information in the Kafka cluster. You can choose to start consuming from the earliest (newest) or latest (oldest) offset.', 'type' => 'string', 'example' => 'EARLIEST / LATEST', 'title' => ''], 'DataSourceName' => ['description' => 'Data source name.', 'type' => 'string', 'example' => 'test_kafka', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"JobId\\": \\"1\\",\\n \\"JobName\\": \\"test-job\\",\\n \\"JobDescription\\": \\"test_job\\",\\n \\"DataSourceId\\": \\"2\\",\\n \\"SrcColumns\\": [\\n \\"src_column_1\\"\\n ],\\n \\"DestColumns\\": [\\n \\"dest_column_1\\"\\n ],\\n \\"MatchColumns\\": [\\n \\"column_1\\"\\n ],\\n \\"UpdateColumns\\": [\\n \\"column_1\\"\\n ],\\n \\"Account\\": \\"test-account\\",\\n \\"Password\\": \\"pwd123\\",\\n \\"DestDatabase\\": \\"dest-db\\",\\n \\"DestSchema\\": \\"dest-schema\\",\\n \\"DestTable\\": \\"dest-table\\",\\n \\"WriteMode\\": \\"INSERT/UPDATE/MERGE\\",\\n \\"Mode\\": \\"basic/professional\\",\\n \\"JobConfig\\": \\"DATABASE: adbpgss_test\\\\nUSER: adbpgss_test\\\\nPASSWORD: adbpgssTest\\\\nHOST: gp-xxx-master.gpdb.rds-aliyun-pre.rds.aliyuncs.com\\\\nPORT: 5432\\\\nKAFKA:\\\\n INPUT:\\\\n SOURCE:\\\\n BROKERS: broker1:9092,broker2:9092,broker3:9092\\\\n TOPIC: testtopic\\\\n FALLBACK_OFFSET: earliest\\\\n KEY:\\\\n COLUMNS:\\\\n - NAME: customer_id\\\\n TYPE: int\\\\n FORMAT: delimited\\\\n DELIMITED_OPTION:\\\\n DELIMITER: \'|\'\\\\n VALUE:\\\\n COLUMNS:\\\\n - TYPE: integer\\\\n NAME: l_orderkey\\\\n - TYPE: integer\\\\n NAME: l_partkey\\\\n - TYPE: integer\\\\n NAME: l_suppkey\\\\n - TYPE: integer\\\\n NAME: l_linenumber\\\\n - TYPE: decimal\\\\n NAME: l_quantity\\\\n - TYPE: decimal\\\\n NAME: l_extendedprice\\\\n - TYPE: decimal\\\\n NAME: l_discount\\\\n - TYPE: decimal\\\\n NAME: l_tax\\\\n - TYPE: char\\\\n NAME: l_returnflag\\\\n - TYPE: char\\\\n NAME: l_linestatus\\\\n - TYPE: date\\\\n NAME: l_shipdate\\\\n - TYPE: date\\\\n NAME: l_commitdate\\\\n - TYPE: date\\\\n NAME: l_receiptdate\\\\n - TYPE: text\\\\n NAME: l_shipinstruct\\\\n - TYPE: text\\\\n NAME: l_shipmode\\\\n - TYPE: text\\\\n NAME: l_comment\\\\n FORMAT: delimited\\\\n DELIMITED_OPTION:\\\\n DELIMITER: \'|\'\\\\n ERROR_LIMIT: 10\\\\n OUTPUT:\\\\n SCHEMA: adbpgss_test\\\\n TABLE: write_with_insert_plaintext\\\\n MODE: MERGE\\\\n MATCH_COLUMNS:\\\\n - l_orderkey\\\\n - l_partkey\\\\n - l_suppkey\\\\n UPDATE_COLUMNS:\\\\n - l_linenumber\\\\n - l_quantity\\\\n - l_extendedprice\\\\n - l_discount\\\\n - l_tax\\\\n - l_returnflag\\\\n - l_linestatus\\\\n - l_shipdate\\\\n - l_commitdate\\\\n - l_receiptdate\\\\n - l_shipinstruct\\\\n - l_shipmode\\\\n - l_comment\\\\n MAPPING:\\\\n - EXPRESSION: l_orderkey\\\\n NAME: l_orderkey\\\\n - EXPRESSION: l_partkey\\\\n NAME: l_partkey\\\\n - EXPRESSION: l_suppkey\\\\n NAME: l_suppkey\\\\n - EXPRESSION: l_linenumber\\\\n NAME: l_linenumber\\\\n - EXPRESSION: l_quantity\\\\n NAME: l_quantity\\\\n - EXPRESSION: l_extendedprice\\\\n NAME: l_extendedprice\\\\n - EXPRESSION: l_discount\\\\n NAME: l_discount\\\\n - EXPRESSION: l_tax\\\\n NAME: l_tax\\\\n - EXPRESSION: l_returnflag\\\\n NAME: l_returnflag\\\\n - EXPRESSION: l_linestatus\\\\n NAME: l_linestatus\\\\n - EXPRESSION: l_shipdate\\\\n NAME: l_shipdate\\\\n - EXPRESSION: l_commitdate\\\\n NAME: l_commitdate\\\\n - EXPRESSION: l_receiptdate\\\\n NAME: l_receiptdate\\\\n - EXPRESSION: l_shipinstruct\\\\n NAME: l_shipinstruct\\\\n - EXPRESSION: l_shipmode\\\\n NAME: l_shipmode\\\\n - EXPRESSION: l_comment\\\\n NAME: l_comment\\\\n COMMIT:\\\\n MAX_ROW: 1000\\\\n MINIMAL_INTERVAL: 1000\\\\n CONSISTENCY: ATLEAST\\\\n POLL:\\\\n BATCHSIZE: 1000\\\\n TIMEOUT: 1000\\\\n PROPERTIES:\\\\n group.id: testgroup\\",\\n \\"Status\\": \\"Running\\",\\n \\"ErrorMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"CreateTime\\": \\"2019-09-08T16:00:00Z\\",\\n \\"ModifyTime\\": \\"2019-09-08T17:00:00Z\\",\\n \\"GroupName\\": \\"test_group\\",\\n \\"Consistency\\": \\"ATLEAST / EXACTLY\\",\\n \\"ErrorLimitCount\\": 5,\\n \\"FallbackOffset\\": \\"EARLIEST / LATEST\\",\\n \\"DataSourceName\\": \\"test_kafka\\"\\n}","type":"json"}]', 'title' => 'DescribeStreamingJob', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStreamingJob'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DescribeStreamingJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'DescribeSupportFeatures' => [ 'summary' => 'Queries the features that are supported by an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNN784S'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the instance IDs of all AnalyticDB for PostgreSQL instances in a specific region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '63E5BE60-91FF-57F1-B873-7F1EB734B93D_2724', 'title' => ''], 'DBInstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], 'SupportFeatureList' => ['description' => 'The features supported by the instance. Valid values:'."\n" ."\n" .'* sample_data: sample dataset. For more information, see [Sample dataset](~~452278~~).'."\n" .'* diagnose_and_optimize: diagnostics and optimization. For more information, see [Diagnostics and optimization](~~323453~~).'."\n", 'type' => 'string', 'example' => '[ "sample_data", "diagnose_and_optimize" ]', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"63E5BE60-91FF-57F1-B873-7F1EB734B93D_2724\\",\\n \\"DBInstanceId\\": \\"gp-bp12ga6v69h86****\\",\\n \\"SupportFeatureList\\": \\"[ \\\\\\"sample_data\\\\\\", \\\\\\"diagnose_and_optimize\\\\\\" ]\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 63E5BE60-91FF-57F1-B873-7F1EB734B93D_2724\\n gp-bp12ga6v69h86****\\n sample_data\\n diagnose_and_optimize\\n","errorExample":""}]', 'title' => 'DescribeSupportFeatures', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSupportFeatures'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeSupportFeatures', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeTable' => [ 'summary' => 'Queries the details of a table.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '225539', 'abilityTreeNodes' => ['FEATUREgpdb95T353'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including instance IDs.', 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that consists of multiple database instances. This parameter and DBInstanceId cannot both be empty. If both this parameter and DBInstanceId are specified, this parameter takes precedence.', 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'SecretArn', 'in' => 'query', 'schema' => ['description' => 'The access credential. Created by calling the CreateSecret operation.'."\n" ."\n" .'> When you access this operation by using a RAM user, you must have the UseSecret or GetSecretValue permission on this SecretArn.', 'type' => 'string', 'required' => true, 'example' => 'acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The database name.', 'type' => 'string', 'required' => true, 'example' => 'adbtest', 'title' => ''], ], [ 'name' => 'Schema', 'in' => 'query', 'schema' => ['description' => 'The name of the schema that contains the table.', 'type' => 'string', 'required' => true, 'example' => 'public', 'title' => ''], ], [ 'name' => 'Table', 'in' => 'query', 'schema' => ['description' => 'The table name.', 'type' => 'string', 'required' => true, 'example' => 'mytable', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The detailed information returned by the operation.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The execution status of the API operation. Valid values:'."\n" .'- **success**: The execution was successful.'."\n" .'- **fail**: The execution failed.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'ColumnList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'ColumnList' => [ 'description' => 'The column list information.', 'type' => 'array', 'items' => ['description' => 'The column list information.', '$ref' => '#/components/schemas/ColumnMetadata', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Query table details', 'changeSet' => [ ['createdAt' => '2025-03-11T17:01:34.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTable'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeTable', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"ColumnList\\": {\\n \\"ColumnList\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"ColumnDefault\\": \\"\\",\\n \\"Scale\\": 0,\\n \\"MaxLength\\": 0,\\n \\"UdtName\\": \\"\\",\\n \\"IsCaseSensitive\\": false,\\n \\"IsCurrency\\": false,\\n \\"Name\\": \\"\\",\\n \\"TableName\\": \\"\\",\\n \\"Precision\\": 0,\\n \\"DataType\\": \\"\\",\\n \\"IsSigned\\": false,\\n \\"Nullable\\": false,\\n \\"SchemaName\\": \\"\\",\\n \\"IsPrimaryKey\\": false\\n }\\n ]\\n }\\n}","type":"json"}]', 'translator' => 'machine', ], 'DescribeTags' => [ 'summary' => 'Queries a list of tags for AnalyticDB for PostgreSQL instances.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNTP4BF'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'This parameter is no longer used.'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The ID of the region.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['description' => 'The type of the resource. Set the value to **instance**.'."\n", 'type' => 'string', 'required' => true, 'example' => 'instance', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A29EC547-B392-4340-AA4F-7C0A7B626E74', 'title' => ''], 'Tags' => [ 'description' => 'The queried tags.'."\n", 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'TagValue' => ['description' => 'The tag value.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'TagKey' => ['description' => 'The tag key.'."\n", 'type' => 'string', 'example' => 'user', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A29EC547-B392-4340-AA4F-7C0A7B626E74\\",\\n \\"Tags\\": [\\n {\\n \\"TagValue\\": \\"test\\",\\n \\"TagKey\\": \\"user\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n A29EC547-B392-4340-AA4F-7C0A7B626E74\\n \\n test\\n user\\n \\n","errorExample":""}]', 'title' => 'DescribeTags', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTags'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeTags', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/*'], ], ], ], ], ], 'DescribeUserEncryptionKeyList' => [ 'summary' => 'Queries a list of Key Management Service (KMS) keys.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbAXSDJ9'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The number of the page to return. Default value: 1.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of KMS keys to return on each page. Default value: 10.', 'type' => 'string', 'required' => false, 'example' => '30', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'KmsKeys' => [ 'description' => 'Details about the KMS keys.', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'KeyId' => ['description' => 'The ID of the KMS key.', 'type' => 'string', 'example' => '0b8b1825-fd99-418f-875e-e4dec1dd****', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"KmsKeys\\": [\\n {\\n \\"KeyId\\": \\"0b8b1825-fd99-418f-875e-e4dec1dd****\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'DescribeUserEncryptionKeyList', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserEncryptionKeyList'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeUserEncryptionKeyList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', ], 'DescribeWaitingSQLInfo' => [ 'summary' => 'Queries the information about a lock-waiting query for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the instance IDs of all AnalyticDB for PostgreSQL instances in a specific region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'PID', 'in' => 'query', 'schema' => ['description' => 'The ID of the process that uniquely identifies the query.'."\n" ."\n" .'> You can call the [DescribeWaitingSQLRecords](~~461735~~) operation to obtain the process IDs of lock-waiting queries.'."\n", 'type' => 'string', 'required' => true, 'example' => '100', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'Database' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'Items' => [ 'description' => 'The queried lock-waiting query.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'PID' => ['description' => 'The ID of the process that uniquely identifies the query.'."\n", 'type' => 'string', 'example' => '100', 'title' => ''], 'User' => ['description' => 'The database account that is used to perform the query.'."\n", 'type' => 'string', 'example' => 'testUser', 'title' => ''], 'SQLStmt' => ['description' => 'The SQL statement of the query.'."\n", 'type' => 'string', 'example' => 'Select * from t1,t2 where t1.id=t2.id;', 'title' => ''], 'Application' => ['description' => 'The application that sent the query.'."\n", 'type' => 'string', 'example' => 'DataGrip 2022.1.5', 'title' => ''], 'NotGrantLocks' => ['description' => 'The unauthorized locks.'."\n", 'type' => 'string', 'example' => 'AccessShareLock', 'title' => ''], 'BlockedByPID' => ['description' => 'The process ID of the blocking query.'."\n", 'type' => 'string', 'example' => '110', 'title' => ''], 'BlockedByUser' => ['description' => 'The database account that is used to perform the blocking query.'."\n", 'type' => 'string', 'example' => 'testUser1', 'title' => ''], 'BlockedBySQLStmt' => ['description' => 'The SQL statement of the blocking query.'."\n", 'type' => 'string', 'example' => 'Select * from t1;', 'title' => ''], 'BlockedByApplication' => ['description' => 'The application that sent the blocking query.'."\n", 'type' => 'string', 'example' => 'DataGrip 2022.1.5', 'title' => ''], 'GrantLocks' => ['description' => 'The authorized locks.'."\n", 'type' => 'string', 'example' => 'ShareLock,AccessExclusiveLock', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"Database\\": \\"test\\",\\n \\"Items\\": [\\n {\\n \\"PID\\": \\"100\\",\\n \\"User\\": \\"testUser\\",\\n \\"SQLStmt\\": \\"Select * from t1,t2 where t1.id=t2.id;\\",\\n \\"Application\\": \\"DataGrip 2022.1.5\\",\\n \\"NotGrantLocks\\": \\"AccessShareLock\\",\\n \\"BlockedByPID\\": \\"110\\",\\n \\"BlockedByUser\\": \\"testUser1\\",\\n \\"BlockedBySQLStmt\\": \\"Select * from t1;\\",\\n \\"BlockedByApplication\\": \\"DataGrip 2022.1.5\\",\\n \\"GrantLocks\\": \\"ShareLock,AccessExclusiveLock\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\n test\\n \\n 100\\n testUser\\n Select * from t1,t2 where t1.id=t2.id;\\n DataGrip 2022.1.5\\n AccessShareLock\\n 110\\n testUser1\\n Select * from t1;\\n DataGrip 2022.1.5\\n ShareLock,AccessExclusiveLock\\n \\n","errorExample":""}]', 'title' => 'DescribeWaitingSQLInfo', 'description' => '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.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', 'changeSet' => [ ['createdAt' => '2022-10-27T11:34:39.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWaitingSQLInfo'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeWaitingSQLInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeWaitingSQLRecords' => [ 'summary' => 'Queries the lock diagnostic records of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the instance IDs of all AnalyticDB for PostgreSQL instances in a specific region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return on each page. Valid values:'."\n" ."\n" .'* **30**'."\n" .'* **50**'."\n" .'* **100**'."\n" ."\n" .'Default value: **30**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The number of the page to return. The value must be an integer that is greater than 0. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n" ."\n" .'If this parameter is not specified, all lock diagnostics records that are generated before the query end time are returned. If the query end time is not specified either, all lock diagnostics records are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-08-15T06:59Z', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end of the time range to query. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC. The end time must be later than the start time.'."\n" ."\n" .'If this parameter is not specified, all lock diagnostics records that are generated after the query start time are returned. If the query start time is not specified either, all lock diagnostics records are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-08-20T07:59Z', 'title' => ''], ], [ 'name' => 'User', 'in' => 'query', 'schema' => ['description' => 'The name of the database account. If this parameter is not specified, the lock diagnostics records of all database accounts are queried.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testUser', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], [ 'name' => 'QueryCondition', 'in' => 'query', 'schema' => ['description' => 'The filter condition on queries. Valid values:'."\n" ."\n" .'* `{"Type":"maxCost","Value":"10"}`: filters the top 10 longest-waiting queries.'."\n" .'* `{"Type":"status","Value":"LockWaiting"}`: filters lock-waiting queries.'."\n" .'* `{"Type":"status","Value":"ResourceWaiting"}`: filters resource-waiting queries.'."\n", 'type' => 'string', 'required' => true, 'example' => '{"Type":"maxCost","Value":"10"}', 'title' => ''], ], [ 'name' => 'Keyword', 'in' => 'query', 'schema' => ['description' => 'The keyword used to filter queries.'."\n", 'type' => 'string', 'required' => false, 'example' => 'table', 'title' => ''], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['description' => 'The field used to sort lock diagnostics records and the sorting order.'."\n" ."\n" .'Default value: `{"Field":"StartTime","Type":"Desc"}`, which indicates that lock diagnostics records are sorted by the start time in descending order. No other values are supported.'."\n", 'type' => 'string', 'required' => false, 'example' => '{"Field":"StartTime","Type":"Desc"}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Items' => [ 'description' => 'The list of lock diagnostics records.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'PID' => ['description' => 'The ID of the process that uniquely identifies the query.'."\n", 'type' => 'string', 'example' => '100', 'title' => ''], 'SessionID' => ['description' => 'The ID of the session that contains the query.'."\n", 'type' => 'string', 'example' => '50', 'title' => ''], 'StartTime' => ['description' => 'The start time of the query. This value is in the timestamp format. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1660902033374', 'title' => ''], 'WaitingTime' => ['description' => 'The waiting period of the query. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '26911000', 'title' => ''], 'Status' => ['description' => 'The waiting state of the query. Valid values:'."\n" ."\n" .'* **LockWaiting**'."\n" .'* **ResourceWaiting**'."\n", 'type' => 'string', 'example' => 'LockWaiting', 'title' => ''], 'SQLStmt' => ['description' => 'The SQL statement of the query.'."\n", 'type' => 'string', 'example' => 'Select * from t1,t2 where t1.id=t2.id;', 'title' => ''], 'User' => ['description' => 'The database account that is used to perform the query.'."\n", 'type' => 'string', 'example' => 'testUser', 'title' => ''], 'Database' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageNumber' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Items\\": [\\n {\\n \\"PID\\": \\"100\\",\\n \\"SessionID\\": \\"50\\",\\n \\"StartTime\\": 1660902033374,\\n \\"WaitingTime\\": 26911000,\\n \\"Status\\": \\"LockWaiting\\",\\n \\"SQLStmt\\": \\"Select * from t1,t2 where t1.id=t2.id;\\",\\n \\"User\\": \\"testUser\\",\\n \\"Database\\": \\"test\\"\\n }\\n ],\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"TotalCount\\": 1,\\n \\"PageNumber\\": 1\\n}","errorExample":""},{"type":"xml","example":"\\n \\n 100\\n 50\\n 1660902033374\\n 26911000\\n LockWaiting\\n Select * from t1,t2 where t1.id=t2.id;\\n testUser\\n test\\n \\n B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\n 1\\n 1\\n","errorExample":""}]', 'title' => 'DescribeWaitingSQLRecords', 'description' => 'You can call this operation to query the lock diagnostics records only for an AnalyticDB for PostgreSQL V6.0 instance in elastic storage mode.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', 'changeSet' => [ ['createdAt' => '2022-10-27T11:34:39.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWaitingSQLRecords'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeWaitingSQLRecords', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DescribeZonesPrivateRAGService' => [ 'summary' => 'Obtains the deployable zone of the private RAG service.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The ID of the region.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation get a list of available region IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'ZoneIds' => [ 'description' => 'The list of zones.'."\n", 'type' => 'array', 'items' => ['description' => 'The zone ID.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou-j', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'DescribeZonesPrivateRAGService', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeZonesPrivateRAGService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"ZoneIds\\": [\\n \\"cn-hangzhou-j\\"\\n ]\\n}","type":"json"}]', 'translator' => 'manual', ], 'DisableDBResourceGroup' => [ 'summary' => 'Disables resource group management for an AnalyticDB for PostgreSQL V6.0 instance in elastic storage mode. After you disable resource group management, the resource management method of the instance switches from resource group management to resource queue management.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197974', 'abilityTreeNodes' => ['FEATUREgpdbGDXMO2'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '53EA07B7-FC2A-521B-AB7C-27**********', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"53EA07B7-FC2A-521B-AB7C-27**********\\"\\n}","type":"json"}]', 'title' => 'DisableDBResourceGroup', 'description' => '* 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.'."\n" .'* You can call this operation to disable resource group management only for AnalyticDB for PostgreSQL instances that are in the **Running** state.'."\n" .'* **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.'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableDBResourceGroup'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DisableDBResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DownloadDiagnosisRecords' => [ 'summary' => 'Downloads the query diagnostic information of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'User', 'in' => 'query', 'schema' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'required' => false, 'example' => 'adbpguser', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'adbtest', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-05-07T06:59Z', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-05-07T07:59Z', 'title' => ''], ], [ 'name' => 'QueryCondition', 'in' => 'query', 'schema' => ['description' => 'The filter condition on queries. The value is in the JSON format. Valid values:'."\n" ."\n" .'* `{"Type":"maxCost", "Value":"100"}`: filters the top 100 queries that are the most time-consuming.'."\n" .'* `{"Type":"status","Value":"finished"}`: filters completed queries.'."\n" .'* `{"Type":"status","Value":"running"}`: filters running queries.'."\n" .'* `{"Type":"cost","Max":"200"}`: filters the queries that consume less than 200 milliseconds.'."\n" .'* `{"Type":"cost","Min":"200","Max":"60000"}`: filters the queries that consume 200 milliseconds or more and less than 1 minute.'."\n" .'* `{"Type":"cost","Min":"60000"}`: filters the queries that consume 1 minute or more.'."\n" .'* `{"Type":"cost","Min":"30","Max":"50"}`: filters the queries that consume 30 milliseconds or more and less than 50 milliseconds. You can customize a filter condition by setting **Min** and **Max**.'."\n", 'type' => 'string', 'required' => false, 'example' => '{ "Type":"maxCost", "Value":"100" }', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => ['description' => 'The language of the file that contains the query diagnostic information. Valid values:'."\n" ."\n" .'* **zh**: simplified Chinese'."\n" .'* **en**: English'."\n" .'* **ja**: Japanese'."\n" .'* **zh-tw**: traditional Chinese'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'The ID of the resource group to which the instance belongs. For more information about how to obtain the ID of a resource group, see [View basic information of a resource group](~~151181~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'DownloadId' => ['description' => 'The ID of the download task.'."\n", 'type' => 'string', 'example' => '11', 'title' => ''], 'DBInstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"DownloadId\\": \\"11\\",\\n \\"DBInstanceId\\": \\"gp-bp12ga6v69h86****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\n 11111\\n","errorExample":""}]', 'title' => 'DownloadDiagnosisRecords', 'description' => '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.'."\n" ."\n" .'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~~).'."\n" ."\n\n" .'## Limits'."\n" ."\n" .'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.', 'changeSet' => [ ['createdAt' => '2022-08-30T09:30:30.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-08-29T02:51:51.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-06-22T11:57:47.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DownloadDiagnosisRecords'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'gpdb:DownloadDiagnosisRecords', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'DownloadSQLLogsRecords' => [ 'summary' => 'Download the slow query logs of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'QueryKeywords', 'in' => 'query', 'schema' => ['description' => 'The keywords that are used for query.'."\n", 'type' => 'string', 'required' => false, 'example' => 'select 1', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The beginning of the time range to query. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-05-07T06:59Z', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testdb', 'title' => ''], ], [ 'name' => 'User', 'in' => 'query', 'schema' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testuser', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end of the time range to query. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The end time must be later than the start time.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-05-08T06:59Z', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" ."\n" .'* **30**'."\n" .'* **50**'."\n" .'* **100**'."\n" ."\n" .'Default value: **30**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '200', 'minimum' => '0', 'example' => '30', 'default' => '10', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. Pages start from page 1. Default value: 1.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2147483647', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => ''], ], [ 'name' => 'ExecuteCost', 'in' => 'query', 'schema' => ['description' => 'The execution duration of the SQL statement. Unit: seconds.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'SourceIP', 'in' => 'query', 'schema' => ['description' => 'The source IP address.'."\n", 'type' => 'string', 'required' => false, 'example' => '100.XX.XX.90', 'title' => ''], ], [ 'name' => 'ExecuteState', 'in' => 'query', 'schema' => ['description' => 'The execution status of the SQL statement.'."\n" ."\n" .'* **1**: successful.'."\n" .'* **0**: failed.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'OperationClass', 'in' => 'query', 'schema' => ['description' => 'The type of the query language. Example: DQL, DML, or DDL.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DQL', 'title' => ''], ], [ 'name' => 'OperationType', 'in' => 'query', 'schema' => ['description' => 'The type of the SQL statement. Example: SELECT.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SELECT', 'title' => ''], ], [ 'name' => 'MaxExecuteCost', 'in' => 'query', 'schema' => ['description' => 'The maximum amount of time consumed by a slow query. Unit: seconds. Minimum value: 0.'."\n", 'type' => 'string', 'required' => false, 'example' => '999', 'title' => ''], ], [ 'name' => 'MinExecuteCost', 'in' => 'query', 'schema' => ['description' => 'The minimum amount of time consumed by a slow query. Unit: seconds. Minimum value: 0.'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => ['description' => 'The language of the file that contains the query diagnostic information. Valid values:'."\n" ."\n" .'* **zh**: simplified Chinese.'."\n" .'* **en**: English.'."\n" .'* **ja**: Japanese.'."\n" .'* **zh-tw**: traditional Chinese.'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '7565770E-7C45-462D-BA4A-8A5396F2CAD1', 'title' => ''], 'DownloadId' => ['description' => 'The ID of the download task.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '11', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7565770E-7C45-462D-BA4A-8A5396F2CAD1\\",\\n \\"DownloadId\\": 11\\n}","type":"json"}]', 'title' => 'DownloadSQLLogsRecords', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DownloadSQLLogsRecords'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DownloadSQLLogsRecords', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], ], ], 'DownloadSlowSQLRecords' => [ 'summary' => 'Downloads slow SQL records.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'DBName', 'in' => 'query', 'schema' => ['description' => 'The database name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testdb01', 'title' => ''], ], [ 'name' => 'UserName', 'in' => 'query', 'schema' => ['description' => 'The database account.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_user', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The beginning of the time range to query. The time must be in UTC and formatted as *yyyy-MM-dd*T*HH:mm*Z.'."\n" ."\n" .'Defaults to the current time minus 5 minutes.'."\n", 'type' => 'string', 'required' => false, 'example' => '2024-12-04T16:00:00Z', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end of the time range to query. The time must be in UTC and formatted as *yyyy-MM-dd*T*HH:mm*Z. The time must be in UTC. The end time must be later than the start time.'."\n" ."\n" .'Defaults to the current time'."\n", 'type' => 'string', 'required' => false, 'example' => '2024-12-04T17:00:00Z', 'title' => ''], ], [ 'name' => 'Keyword', 'in' => 'query', 'schema' => ['description' => 'The search keyword.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SELECT', 'title' => ''], ], [ 'name' => 'MinDuration', 'in' => 'query', 'schema' => ['description' => 'The minimum execution duration. Unit: seconds.'."\n", 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], [ 'name' => 'MaxDuration', 'in' => 'query', 'schema' => ['description' => 'The longest execution duration. Unit: seconds.'."\n", 'type' => 'string', 'required' => false, 'example' => '600', 'title' => ''], ], [ 'name' => 'OrderBy', 'in' => 'query', 'schema' => ['description' => 'Sort criteria.'."\n", 'type' => 'string', 'required' => false, 'example' => '{Field: SchemaName, Type: Desc}', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'DBInstanceId' => ['description' => 'The cluster ID.'."\n", 'type' => 'string', 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"DBInstanceId\\": \\"gp-xxxxxxxxx\\"\\n}","type":"json"}]', 'title' => 'DownloadSlowSQLRecords', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DownloadSlowSQLRecords', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'EnableCollectionGraphRAG' => [ 'summary' => 'Enables knowledge graph construction for the knowledge base.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the cluster.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ManagerAccount', 'in' => 'query', 'schema' => ['description' => 'The name of the privileged database account that has the rds_superuser permission.'."\n" ."\n" .'> You can call the [CreateAccount](~~2361789~~) operation to create an account.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testaccount', 'title' => ''], ], [ 'name' => 'ManagerAccountPassword', 'in' => 'query', 'schema' => ['description' => 'The password for the privileged database account.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace. Default value: public.'."\n" ."\n" .'> You can call the CreateNamespace operation to create a namespace and call the ListNamespaces operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password of the namespace.'."\n" ."\n" .'> The value of this parameter is specified by [CreateNamespace](~~2401495~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the document collection.'."\n" ."\n" .'> You can call the [CreateDocumentCollection](~~2618448~~) operation to create a document collection and call the [ListDocumentCollections](~~2618452~~) operation to query a list of document collections.'."\n", 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'LLMModel', 'in' => 'query', 'schema' => ['description' => 'The name of the LLM model.'."\n" ."\n" .'> Valid values:'."\n" ."\n" .'* knowledge-extract-standard: the default value.'."\n" ."\n" .'* knowledge-extract-mini'."\n" ."\n" .'> This parameter takes effect only when the knowledge graph construction is enabled.'."\n", 'type' => 'string', 'required' => false, 'example' => 'knowledge-extract-standard', 'title' => ''], ], [ 'name' => 'Language', 'in' => 'query', 'schema' => ['description' => 'The language used to build the knowledge graph. Valid values:'."\n" ."\n" .'* Simplified Chinese. The default value.'."\n" .'* English.'."\n" ."\n" .'> This parameter takes effect only when the knowledge graph construction is enabled.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Simplified Chinese', 'title' => ''], ], [ 'name' => 'EntityTypes', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The list of entity types.'."\n" ."\n" .'> If the knowledge graph construction is enabled, this parameter is required.'."\n", 'type' => 'array', 'items' => ['description' => 'The entity type.'."\n", 'type' => 'string', 'required' => true, 'example' => '地点', 'title' => ''], 'required' => true, 'example' => 'Location', 'title' => '', ], ], [ 'name' => 'RelationshipTypes', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The list of relationship edge types.'."\n" ."\n" .'> If the knowledge graph construction is enabled, this parameter is required.'."\n", 'type' => 'array', 'items' => ['description' => 'The type of the relationship edge.'."\n", 'type' => 'string', 'required' => true, 'example' => '发生', 'title' => ''], 'required' => true, 'example' => 'Occurred', 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The response message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'JobId' => ['description' => 'The ID of the job. You can use the `GetGraphRAGJob` to view the job status.'."\n", 'type' => 'string', 'example' => '231460f8-75dc-405e-a669-0c5204887e91', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"JobId\\": \\"231460f8-75dc-405e-a669-0c5204887e91\\"\\n}","type":"json"}]', 'title' => 'EnableCollectionGraphRAG', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:EnableCollectionGraphRAG', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], ], 'EnableDBResourceGroup' => [ 'summary' => 'Enables resource group management for an AnalyticDB for PostgreSQL V6.0 instance in elastic storage mode. After resource group management is enabled, the resource management mode of the instance is changed from resource queue to resource group.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197949', 'abilityTreeNodes' => ['FEATUREgpdbGDXMO2'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '5850BF81-1A2B-5ACE-AF41-57**********', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5850BF81-1A2B-5ACE-AF41-57**********\\"\\n}","type":"json"}]', 'title' => 'EnableDBResourceGroup', 'description' => '* 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.'."\n" .'* You can call this operation to enable resource group management only for AnalyticDB for PostgreSQL instances that are in the **Running** state.'."\n" .'* **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.'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableDBResourceGroup'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:EnableDBResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ExecuteStatement' => [ 'summary' => 'Executes an SQL statement.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '225498', 'abilityTreeNodes' => ['FEATUREgpdb95T353'], 'autoTest' => false, 'notSupportAutoTestReason' => '数据类API,自动化测试中,无法通过RAM验证(POP仅会返回200)', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including instance IDs.', 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that consists of multiple database instances. This parameter and DBInstanceId cannot both be empty. If both this parameter and DBInstanceId are specified, this parameter takes precedence.', 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], [ 'name' => 'RagWorkspaceCollection', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The vector dataset parameters.'."\n" .'> If WorkspaceId is not empty, this parameter is required.', 'type' => 'object', 'properties' => [ 'Namespace' => ['description' => 'The namespace.'."\n" ."\n" .'> You can call the [ListNamespaces](~~2401502~~) operation to query the list.', 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'title' => ''], 'Collection' => ['description' => 'The collection name.'."\n" ."\n" .'> You can call the [ListCollections](~~2401503~~) operation to query the list.', 'type' => 'string', 'required' => false, 'example' => 'mycollection', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'SecretArn', 'in' => 'query', 'schema' => ['description' => 'The access credential. Created by calling the CreateSecret operation.'."\n" ."\n" .'> When you access this operation by using a RAM user, you must have the UseSecret or GetSecretValue permission on this SecretArn.', 'type' => 'string', 'required' => true, 'example' => 'acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The database name.', 'type' => 'string', 'required' => true, 'example' => 'adbtest', 'title' => ''], ], [ 'name' => 'RunType', 'in' => 'query', 'schema' => ['description' => 'The run type. Valid values:'."\n" .'- synchronous: synchronous execution.'."\n" .'- asynchronous: asynchronous execution. Currently not supported.', 'type' => 'string', 'required' => false, 'example' => 'synchronous', 'title' => ''], ], [ 'name' => 'StatementName', 'in' => 'query', 'schema' => ['description' => 'The name of the execution statement. This parameter takes effect only when RunType is set to asynchronous.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'Sql', 'in' => 'formData', 'schema' => ['description' => 'The SQL statement to execute.', 'type' => 'string', 'required' => false, 'example' => 'select * from table1', 'title' => ''], ], [ 'name' => 'Sqls', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => 'The list of multiple SQL statements.', 'type' => 'array', 'items' => ['description' => 'The SQL statement.', 'type' => 'string', 'required' => false, 'example' => 'set idle_in_transaction_session_timeout = 300000', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'Parameters', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => 'The list of configuration parameters.', 'type' => 'array', 'items' => ['description' => 'The list of configuration parameters.', 'type' => 'any', 'required' => false, 'example' => 'myvalue', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The execution status of the API operation. Valid values:'."\n" .'- **success**: The execution is successful.'."\n" .'- **fail**: The execution failed.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'DBInstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'gp-xxxxxxxxx', 'title' => ''], 'SecretArn' => ['description' => 'The access credential.', 'type' => 'string', 'example' => 'acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ', 'title' => ''], 'CreatedAt' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2023-12-04T10:08:47+0800', 'title' => ''], 'Database' => ['description' => 'The database name.', 'type' => 'string', 'example' => 'adbtest', 'title' => ''], 'Id' => ['description' => 'The task ID for asynchronous SQL execution.', 'type' => 'string', 'example' => 'ABB39CC3', 'title' => ''], 'Data' => [ 'description' => 'The result returned for synchronous calls.', 'type' => 'object', 'properties' => [ 'Records' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Records' => [ 'description' => 'The multiple rows of data.', 'type' => 'array', 'items' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Record' => [ 'description' => 'The single row of data.', 'type' => 'array', 'items' => ['description' => 'The individual data item.', '$ref' => '#/components/schemas/Field', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'ColumnMetadata' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'ColumnMetadata' => [ 'description' => 'The list of column metadata.', 'type' => 'array', 'items' => ['description' => 'The column metadata.', '$ref' => '#/components/schemas/ColumnMetadata', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'TotalNumRows' => ['description' => 'The total number of rows.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Execute an SQL statement', 'changeSet' => [ ['createdAt' => '2025-03-11T17:01:34.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteStatement'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:ExecuteStatement', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"DBInstanceId\\": \\"gp-xxxxxxxxx\\",\\n \\"SecretArn\\": \\"acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ\\",\\n \\"CreatedAt\\": \\"2023-12-04T10:08:47+0800\\",\\n \\"Database\\": \\"adbtest\\",\\n \\"Id\\": \\"ABB39CC3\\",\\n \\"Data\\": {\\n \\"Records\\": {\\n \\"Records\\": [\\n {\\n \\"Record\\": [\\n {\\n \\"DoubleValue\\": 0,\\n \\"BooleanValue\\": false,\\n \\"LongValue\\": 0,\\n \\"IsNull\\": false,\\n \\"StringValue\\": \\"\\",\\n \\"BlobValue\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"ColumnMetadata\\": {\\n \\"ColumnMetadata\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"ColumnDefault\\": \\"\\",\\n \\"Scale\\": 0,\\n \\"MaxLength\\": 0,\\n \\"UdtName\\": \\"\\",\\n \\"IsCaseSensitive\\": false,\\n \\"IsCurrency\\": false,\\n \\"Name\\": \\"\\",\\n \\"TableName\\": \\"\\",\\n \\"Precision\\": 0,\\n \\"DataType\\": \\"\\",\\n \\"IsSigned\\": false,\\n \\"Nullable\\": false,\\n \\"SchemaName\\": \\"\\",\\n \\"IsPrimaryKey\\": false\\n }\\n ]\\n },\\n \\"TotalNumRows\\": 10\\n }\\n}","type":"json"}]', 'translator' => 'machine', ], 'GetAccount' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '227834', 'abilityTreeNodes' => ['FEATUREgpdb2U0VE3'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" .'>You can specify up to 30 instance IDs for batch operations. Separate multiple instance IDs with commas (,).', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'AccountName', 'in' => 'query', 'schema' => ['description' => 'The name of the initial account. The name must meet the following requirements:'."\n" ."\n" .'- The name can contain lowercase letters, digits, and underscores (_).'."\n" .'- The name must start with a lowercase letter and end with a lowercase letter or digit.'."\n" .'- The name cannot start with gp.'."\n" .'- The name must be 2 to 16 characters in length.', 'type' => 'string', 'required' => true, 'example' => 'testuser', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'CA7E4276-E2D5-5F8D-AF06-9EAB3F6C****'], 'AccountStatus' => ['description' => 'The status of the database account. Valid values:'."\n" ."\n" .'- **0**: Being created.'."\n" .'- **1**: In use.'."\n" .'- **3**: Being deleted.', 'type' => 'string', 'example' => '1', 'title' => ''], 'AccountDescription' => ['description' => 'The modified account description. The description must meet the following requirements:'."\n" ."\n" .'- The description must start with a Chinese character or an English letter.'."\n" .'- The description cannot start with `http://` or `https://`.'."\n" .'- The description can contain Chinese characters, English characters, underscores (_), hyphens (-), and digits.'."\n" .'- The description must be 2 to 256 characters in length.', 'type' => 'string', 'example' => 'The instance used by this account to log in is DBInstanceId. The name used to log in is AccountName.', 'title' => ''], 'DBInstanceId' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including instance IDs.', 'type' => 'string', 'example' => 'gp-xxxxxxxxx', 'title' => ''], 'AccountName' => ['description' => 'The name of the initial account. The name must meet the following requirements:'."\n" ."\n" .'- The name can contain lowercase letters, digits, and underscores (_).'."\n" .'- The name must start with a lowercase letter and end with a lowercase letter or digit.'."\n" .'- The name cannot start with gp.'."\n" .'- The name must be 2 to 16 characters in length.', 'type' => 'string', 'example' => 'testaccount', 'title' => ''], 'AccountType' => ['description' => 'The type of the host account. Valid values:'."\n" .'- **Normal**: standard account.'."\n" .'- **Admin**: administrator account.'."\n" ."\n" .'For more information about the permissions of host accounts, see [Host account permissions](~~176240~~).', 'type' => 'string', 'example' => 'Normal', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'GetAccount', 'summary' => 'Retrieves information about a specific account.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAccount'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetAccount', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CA7E4276-E2D5-5F8D-AF06-9EAB3F6C****\\",\\n \\"AccountStatus\\": \\"1\\",\\n \\"AccountDescription\\": \\"The instance used by this account to log in is DBInstanceId. The name used to log in is AccountName.\\",\\n \\"DBInstanceId\\": \\"gp-xxxxxxxxx\\",\\n \\"AccountName\\": \\"testaccount\\",\\n \\"AccountType\\": \\"Normal\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'GetBranchSchema' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID. This parameter is required when you create a primary branch. When you create a sub-branch, the region of the primary branch is inherited by default.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The Supabase project ID that corresponds to the primary branch.', 'type' => 'string', 'required' => true, 'example' => 'spb-xxxx', 'title' => ''], ], [ 'name' => 'BranchId', 'in' => 'query', 'schema' => ['description' => 'The branch ID that uniquely identifies a Supabase branch.', 'type' => 'string', 'required' => true, 'example' => 'br-xxxx', 'title' => ''], ], [ 'name' => 'DBName', 'in' => 'query', 'schema' => ['description' => 'The database name. The system databases postgres, template0, and template1 do not support schema queries.', 'type' => 'string', 'required' => true, 'example' => 'neondb', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D****', 'title' => ''], 'Sql' => ['description' => 'The schema SQL content.', 'type' => 'string', 'example' => 'CREATE TABLE public.example(id int);', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Get branch schema', 'summary' => 'Retrieves the database schema of a Supabase branch.', 'description' => 'Queries the schema SQL content of a specified database in a specified branch. The system databases postgres, template0, and template1 are not supported.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetBranchSchema', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Branch', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:branch/{#BranchId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D****\\",\\n \\"Sql\\": \\"CREATE TABLE public.example(id int);\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'GetGraphRAGJob' => [ 'summary' => 'Retrieves a task to build a knowledge graph.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the cluster.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace. Default value: public.'."\n" ."\n" .'> You can call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password of the namespace.'."\n" ."\n" .'> The value of this parameter is specified when you call the [CreateNamespace](~~2401495~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the document collection.'."\n" ."\n" .'> You can call the [CreateDocumentCollection](~~2618448~~) operation to create a document collection and call the [ListDocumentCollections](~~2618452~~) operation to query a list of document collections.'."\n", 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'JobId', 'in' => 'query', 'schema' => ['description' => 'The job ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '231460f8-75dc-405e-a669-0c5204887e91', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The additional information that is returned.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Job' => [ 'description' => 'The details of the task for building a knowledge graph.'."\n", 'type' => 'object', 'properties' => [ 'Id' => ['description' => 'The job ID.'."\n", 'type' => 'string', 'example' => '231460f8-75dc-405e-a669-0c5204887e91', 'title' => ''], 'Completed' => ['description' => 'Indicates whether the operation is complete.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], 'CreateTime' => ['description' => 'The job creation time.'."\n", 'type' => 'string', 'example' => '2024-01-08 16:52:04.864664', 'title' => ''], 'UpdateTime' => ['description' => 'The job last updated time.'."\n", 'type' => 'string', 'example' => '2024-01-08 16:53:04.864664', 'title' => ''], 'Status' => ['description' => 'The state of the job. Valid values:'."\n" ."\n" .'* **Success**'."\n" .'* **Failed** (See the Error parameter for failure reasons.)'."\n" .'* **Running**'."\n" .'* **Pending**'."\n", 'type' => 'string', 'example' => 'Running', 'title' => ''], 'Error' => ['description' => 'The error message that is returned when the current operation is abnormal or fails.'."\n", 'type' => 'string', 'example' => 'Failed to connect database.', 'title' => ''], 'Progress' => ['description' => 'The progress of the document upload job. Unit: %. A value of 100 indicates that the job is complete.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], ], 'title' => '', 'example' => '', ], 'Usage' => [ 'description' => 'The number of tokens that are consumed by document understanding or embedding.'."\n", 'type' => 'object', 'properties' => [ 'EmbeddingTokens' => ['description' => 'The number of tokens that are consumed during vectorization.'."\n" ."\n" .'> A token is the minimum unit for splitting text. A token can be a word, phrase, punctuation, or character.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '475', 'title' => ''], 'LLMInputTokens' => ['description' => 'The number of tokens used by the large model input.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '600', 'title' => ''], 'LLMOutputTokens' => ['description' => 'The number of tokens used for large model output.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '125', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"Job\\": {\\n \\"Id\\": \\"231460f8-75dc-405e-a669-0c5204887e91\\",\\n \\"Completed\\": false,\\n \\"CreateTime\\": \\"2024-01-08 16:52:04.864664\\",\\n \\"UpdateTime\\": \\"2024-01-08 16:53:04.864664\\",\\n \\"Status\\": \\"Running\\",\\n \\"Error\\": \\"Failed to connect database.\\",\\n \\"Progress\\": 20\\n },\\n \\"Usage\\": {\\n \\"EmbeddingTokens\\": 475,\\n \\"LLMInputTokens\\": 600,\\n \\"LLMOutputTokens\\": 125\\n }\\n}","type":"json"}]', 'title' => 'GetGraphRAGJob', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetGraphRAGJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetSaasService' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ServiceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'description' => '', 'example' => 'agdb-xxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string', 'title' => '', 'description' => '', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521'], 'ServiceId' => ['type' => 'string', 'description' => '', 'example' => '1', 'title' => ''], 'ServiceType' => ['type' => 'string', 'description' => '', 'example' => 'drama', 'title' => ''], 'WorkspaceId' => ['type' => 'string', 'description' => '', 'example' => 'ws-*****', 'title' => ''], 'Status' => ['type' => 'string', 'description' => '', 'example' => 'creating', 'title' => ''], 'RegionId' => ['type' => 'string', 'description' => '', 'example' => 'cn-beijing', 'title' => ''], 'Cu' => ['type' => 'string', 'description' => '', 'example' => '1', 'title' => ''], 'PayType' => ['type' => 'string', 'description' => '', 'example' => 'POSTPAY', 'title' => ''], 'ServiceName' => ['type' => 'string', 'description' => '', 'example' => 'agdb-xxxxx', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '', 'summary' => '', 'description' => '删除模型服务。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetSaasService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"ServiceId\\": \\"1\\",\\n \\"ServiceType\\": \\"drama\\",\\n \\"WorkspaceId\\": \\"ws-*****\\",\\n \\"Status\\": \\"creating\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"Cu\\": \\"1\\",\\n \\"PayType\\": \\"POSTPAY\\",\\n \\"ServiceName\\": \\"agdb-xxxxx\\"\\n}","type":"json"}]', ], 'GetSecretValue' => [ 'summary' => 'Queries the information about an access credential.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '225484', 'abilityTreeNodes' => ['FEATUREgpdb95T353'], 'autoTest' => false, 'notSupportAutoTestReason' => '鉴权对象不作为入参,因此鉴权对象不存在情形,无法实现RAM标准错误信息透出,故不支持自动化测试', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. You must specify one of the WorkspaceId and DBInstanceId parameters. If you specify both parameters, the WorkspaceId parameter takes effect.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'SecretArn', 'in' => 'query', 'schema' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the access credential for the created Data API account. Format: `acs:gpdb:{{region}}:{{accountId}}:secret/{{secretName}}-{{32 digits random string}`.'."\n" ."\n" .'> You must specify one of the SecretArn and SecretName parameters.'."\n", 'type' => 'string', 'required' => false, 'example' => 'acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ', 'title' => ''], ], [ 'name' => 'SecretName', 'in' => 'query', 'schema' => ['description' => 'The name of the access credential.'."\n" ."\n" .'> You must specify one of the SecretArn and SecretName parameters.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testsecret', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'SecretArn' => ['description' => 'The ARN of the access credential for the created Data API account. Format: `acs:gpdb:{{region}}:{{accountId}}:secret/{{secretName}}-{{32 digits random string}`.'."\n", 'type' => 'string', 'example' => 'acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ', 'title' => ''], 'SecretName' => ['description' => 'The name of the access credential.'."\n", 'type' => 'string', 'example' => 'testsecret', 'title' => ''], 'DBInstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'gp-xxxxxxxxx', 'title' => ''], 'Username' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'example' => 'testacc', 'title' => ''], 'Password' => ['description' => 'The password of the database account.'."\n", 'type' => 'string', 'example' => 'pwd123', 'title' => ''], 'Description' => ['description' => 'The description of the access credential.'."\n", 'type' => 'string', 'example' => 'test secret', 'title' => ''], 'Code' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'Secret.NotFound', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"SecretArn\\": \\"acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ\\",\\n \\"SecretName\\": \\"testsecret\\",\\n \\"DBInstanceId\\": \\"gp-xxxxxxxxx\\",\\n \\"Username\\": \\"testacc\\",\\n \\"Password\\": \\"pwd123\\",\\n \\"Description\\": \\"test secret\\",\\n \\"Code\\": \\"Secret.NotFound\\"\\n}","type":"json"}]', 'title' => 'GetSecretValue', 'changeSet' => [ ['createdAt' => '2025-03-11T17:01:34.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSecretValue'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetSecretValue', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetServiceAccessInfo' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ServiceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'description' => '', 'example' => 'agdb-xxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string', 'title' => '', 'description' => '', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521'], 'CallbackUrl' => ['type' => 'string', 'description' => '', 'example' => 'http://xxxxxxxxx', 'title' => ''], 'VerifyCode' => ['type' => 'string', 'description' => '', 'example' => 'dcwedsxcx', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '', 'summary' => '', 'description' => '## 使用说明'."\n" .'本接口用于查看所有模型服务信息。'."\n" .'## QPS限制'."\n" .'本接口的单用户QPS限制默认为1000次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetServiceAccessInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"CallbackUrl\\": \\"http://xxxxxxxxx\\",\\n \\"VerifyCode\\": \\"dcwedsxcx\\"\\n}","type":"json"}]', ], 'GetStatementResult' => [ 'summary' => 'Retrieves the result of an asynchronous SQL execution.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '225498', 'abilityTreeNodes' => ['FEATUREgpdb95T353'], 'autoTest' => false, 'notSupportAutoTestReason' => '数据类API,自动化测试中,无法通过RAM验证(POP仅会返回200)', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID. You can call DescribeDBInstances to obtain the ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'SecretArn', 'in' => 'query', 'schema' => ['description' => 'The access credential. Created by calling the CreateSecret operation.'."\n" ."\n" .'> When you access this operation by using a RAM user, you must have the UseSecret or GetSecretValue permission on this SecretArn.', 'type' => 'string', 'required' => true, 'example' => 'acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The database name.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'Id', 'in' => 'query', 'schema' => ['description' => 'The task ID of the asynchronous SQL execution.', 'type' => 'string', 'required' => true, 'example' => '9A920F47-416A-4044-817C-7C2A72AD16D3', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The execution status of the API operation. Valid values:'."\n" ."\n" .'- **false**: Failed.'."\n" .'- **true**: Succeeded.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Data' => [ 'description' => 'The result of the asynchronous call.', 'type' => 'object', 'properties' => [ 'Records' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Records' => [ 'description' => 'The multiple rows of data.', 'type' => 'array', 'items' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Record' => [ 'description' => 'The single row of data.', 'type' => 'array', 'items' => ['description' => 'The individual data item.', '$ref' => '#/components/schemas/Field', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'ColumnMetadata' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'ColumnMetadata' => [ 'description' => 'The list of column metadata.', 'type' => 'array', 'items' => ['description' => 'The column metadata.', '$ref' => '#/components/schemas/ColumnMetadata', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'TotalNumRows' => ['description' => 'The total number of rows.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Retrieve asynchronous SQL execution result', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetStatementResult', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"Data\\": {\\n \\"Records\\": {\\n \\"Records\\": [\\n {\\n \\"Record\\": [\\n {\\n \\"DoubleValue\\": 0,\\n \\"BooleanValue\\": false,\\n \\"LongValue\\": 0,\\n \\"IsNull\\": false,\\n \\"StringValue\\": \\"\\",\\n \\"BlobValue\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"ColumnMetadata\\": {\\n \\"ColumnMetadata\\": [\\n {\\n \\"Comment\\": \\"\\",\\n \\"ColumnDefault\\": \\"\\",\\n \\"Scale\\": 0,\\n \\"MaxLength\\": 0,\\n \\"UdtName\\": \\"\\",\\n \\"IsCaseSensitive\\": false,\\n \\"IsCurrency\\": false,\\n \\"Name\\": \\"\\",\\n \\"TableName\\": \\"\\",\\n \\"Precision\\": 0,\\n \\"DataType\\": \\"\\",\\n \\"IsSigned\\": false,\\n \\"Nullable\\": false,\\n \\"SchemaName\\": \\"\\",\\n \\"IsPrimaryKey\\": false\\n }\\n ]\\n },\\n \\"TotalNumRows\\": 10\\n }\\n}","type":"json"}]', 'translator' => 'machine', ], 'GetSupabaseProject' => [ 'summary' => 'Retrieves details of a Supabase instance.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to view the available region IDs.', 'type' => 'string', 'example' => 'cn-hangzhou', 'required' => false, 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The Supabase instance ID. You can find this ID on the Supabase page in the console.', 'type' => 'string', 'required' => true, 'example' => 'sbp-263****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D****', 'title' => ''], 'ProjectName' => ['description' => 'The Supabase project name.', 'type' => 'string', 'example' => 'supabase_project', 'title' => ''], 'ProjectSpec' => ['description' => 'The Supabase instance specification.', 'type' => 'string', 'example' => '1C1G', 'title' => ''], 'Status' => ['description' => 'The Supabase instance status.', 'type' => 'string', 'example' => 'running', 'title' => ''], 'PublicConnectUrl' => ['description' => 'The public connection URL for the Supabase Dashboard.', 'type' => 'string', 'example' => '10.154.11.10', 'title' => ''], 'PrivateConnectUrl' => ['description' => 'The private connection URL for the Supabase Dashboard.', 'type' => 'string', 'example' => '192.168.0.11', 'title' => ''], 'RegionId' => ['description' => 'The region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the available regions.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'ZoneId' => ['description' => 'The zone ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the available zones.', 'type' => 'string', 'example' => 'cn-hangzhou-i', 'title' => ''], 'VpcId' => ['description' => 'The VPC ID.'."\n" ."\n" .'> - You can call the [DescribeRdsVpcs](~~208327~~) operation to query the available VPCs.'."\n" .'>'."\n" .'> - This parameter is required.', 'type' => 'string', 'example' => 'vpc-bp*******************', 'title' => ''], 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-bp1cpq8mr64paltkb****', 'title' => ''], 'SecurityIpList' => ['description' => 'The IP address whitelist, specified as a comma-separated string.', 'type' => 'string', 'example' => '127.0.0.1', 'title' => ''], 'DiskPerformanceLevel' => ['description' => 'The performance level (PL) of the cloud disk. Valid values:'."\n" ."\n" .'- PL0'."\n" ."\n" .'- PL1', 'type' => 'string', 'example' => 'PL0', 'title' => ''], 'Engine' => ['description' => 'The database engine.', 'type' => 'string', 'example' => 'postgres', 'title' => ''], 'EngineVersion' => ['description' => 'The engine version.', 'type' => 'string', 'example' => '15', 'title' => ''], 'StorageSize' => ['description' => 'The storage space, in GB.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], 'CreateTime' => ['description' => 'The creation time of the project.', 'type' => 'string', 'example' => '2019-09-08T16:00:00Z', 'title' => ''], 'DashboardUserName' => ['description' => 'The username for the Supabase Dashboard. This parameter is not used.', 'type' => 'string', 'example' => 'username', 'title' => ''], 'ProjectId' => ['description' => 'The Supabase project ID.', 'type' => 'string', 'example' => 'sbp-545434', 'title' => ''], 'DashboardPassword' => ['description' => 'The password for the Supabase Dashboard. This parameter is not used.', 'type' => 'string', 'example' => 'xxpassword', 'title' => ''], 'PayType' => ['description' => 'The billing method. Valid values:'."\n" ."\n" .'- `POSTPAY`: pay-as-you-go'."\n" ."\n" .'- `PREPAY`: subscription', 'type' => 'string', 'example' => 'POSTPAY', 'title' => ''], 'InstanceVersion' => ['description' => 'The current instance version.', 'type' => 'string', 'example' => 'v1.0.3', 'title' => ''], 'StorageType' => ['description' => 'The storage type. Valid values:'."\n" ."\n" .'- **cloud\\_essd\\_pl0**'."\n" ."\n" .'- **cloud\\_essd\\_pl1**'."\n" ."\n" .'- **cloud\\_essd\\_pl2**'."\n" ."\n" .'- **cloud\\_essd\\_pl3**', 'type' => 'string', 'example' => 'cloud_essd_pl0', 'title' => ''], 'Eni' => ['description' => 'The elastic network interface (ENI) ID.', 'type' => 'string', 'example' => 'eni-xxxxxx', 'title' => ''], 'DBSecurityIpList' => ['description' => 'The database IP address whitelist, specified as a comma-separated string.', 'type' => 'string', 'example' => '127.0.0.1,100.64.XX.XX/10', 'title' => ''], 'AutoScale' => [ 'description' => 'Indicates whether the **auto pause and resume** feature is enabled.'."\n" .'Valid values:'."\n" ."\n" .'- `true`: The feature is enabled. The project automatically pauses and resumes based on traffic.'."\n" ."\n" .'- `false`: The feature is disabled.', 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], 'type' => 'string', 'example' => 'false', 'title' => '', ], 'ProjectDescription' => ['description' => 'The description of the Supabase project.', 'type' => 'string', 'example' => 'for-test-project', 'title' => ''], ], 'description' => 'The data returned.', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'GetSupabaseProject', 'description' => 'Gets the details of a Supabase instance.', 'changeSet' => [ ['createdAt' => '2025-12-15T13:40:52.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2025-12-04T13:12:30.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetSupabaseProject', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D****\\",\\n \\"ProjectName\\": \\"supabase_project\\",\\n \\"ProjectSpec\\": \\"1C1G\\",\\n \\"Status\\": \\"running\\",\\n \\"PublicConnectUrl\\": \\"10.154.11.10\\",\\n \\"PrivateConnectUrl\\": \\"192.168.0.11\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"VpcId\\": \\"vpc-bp*******************\\",\\n \\"VSwitchId\\": \\"vsw-bp1cpq8mr64paltkb****\\",\\n \\"SecurityIpList\\": \\"127.0.0.1\\",\\n \\"DiskPerformanceLevel\\": \\"PL0\\",\\n \\"Engine\\": \\"postgres\\",\\n \\"EngineVersion\\": \\"15\\",\\n \\"StorageSize\\": 2,\\n \\"CreateTime\\": \\"2019-09-08T16:00:00Z\\",\\n \\"DashboardUserName\\": \\"username\\",\\n \\"ProjectId\\": \\"sbp-545434\\",\\n \\"DashboardPassword\\": \\"xxpassword\\",\\n \\"PayType\\": \\"POSTPAY\\",\\n \\"InstanceVersion\\": \\"v1.0.3\\",\\n \\"StorageType\\": \\"cloud_essd_pl0\\",\\n \\"Eni\\": \\"eni-xxxxxx\\",\\n \\"DBSecurityIpList\\": \\"127.0.0.1,100.64.XX.XX/10\\",\\n \\"AutoScale\\": \\"false\\",\\n \\"ProjectDescription\\": \\"for-test-project\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'GetSupabaseProjectApiKeys' => [ 'summary' => 'Queries the API keys and JWT secrets for a Supabase instance.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to view the available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The Supabase instance ID.', 'type' => 'string', 'required' => true, 'example' => 'sbp-481****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D****', 'title' => ''], 'ApiKeys' => [ 'description' => 'A list of API keys.', 'type' => 'array', 'items' => [ 'description' => 'An API key.', 'type' => 'object', 'properties' => [ 'Name' => ['description' => 'The name of the API key, such as anon key, service role key, or JWT secret.', 'type' => 'string', 'example' => 'anon key', 'title' => ''], 'ApiKey' => ['description' => 'The value of the API key.', 'type' => 'string', 'example' => 'Tmz2Z59caMDeq/Xi9vuc****', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D****\\",\\n \\"ApiKeys\\": [\\n {\\n \\"Name\\": \\"anon key\\",\\n \\"ApiKey\\": \\"Tmz2Z59caMDeq/Xi9vuc****\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'GetSupabaseProjectApiKeys', 'description' => 'This operation queries the API keys and JWT secrets for a Supabase instance.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetSupabaseProjectApiKeys', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], ], 'translator' => 'machine', ], 'GetSupabaseProjectDashboardAccount' => [ 'summary' => 'Retrieves the username and password for the dashboard of a specific Supabase project.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The Supabase project ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'sbp-4ptxp5mp****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D****', 'title' => ''], 'ProjectName' => ['description' => 'The name of the Supabase project.'."\n", 'type' => 'string', 'example' => 'supabase_prod', 'title' => ''], 'ProjectId' => ['description' => 'The ID of the Supabase project.'."\n", 'type' => 'string', 'example' => 'sbp-twmoe9bakow', 'title' => ''], 'DashboardPassword' => ['description' => 'The username for accessing the project\'s dashboard.'."\n", 'type' => 'string', 'example' => 'xxpassword', 'title' => ''], 'DashboardUsername' => ['description' => 'The password associated with the dashboard username.'."\n", 'type' => 'string', 'example' => 'xxuser', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D****\\",\\n \\"ProjectName\\": \\"supabase_prod\\",\\n \\"ProjectId\\": \\"sbp-twmoe9bakow\\",\\n \\"DashboardPassword\\": \\"xxpassword\\",\\n \\"DashboardUsername\\": \\"xxuser\\"\\n}","type":"json"}]', 'title' => 'GetSupabaseProjectDashboardAccount', 'description' => 'Query Supabase Project Dashboard Account Information'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetSupabaseProjectDashboardAccount', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], ], ], 'GetUploadDocumentJob' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance that has the vector engine optimization feature enabled.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including instance IDs.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'formData', 'schema' => ['description' => 'The namespace, which is used for tenant isolation. Default value: public.'."\n" ."\n" .'> You can create a namespace by calling [CreateNamespace](~~2401495~~) and view the list of namespaces by calling [ListNamespaces](~~2401502~~).', 'type' => 'string', 'default' => 'public', 'required' => false, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'formData', 'schema' => ['description' => 'The name of the document collection.'."\n" ."\n" .'> A document collection is created by calling the [CreateDocumentCollection](~~2618448~~) operation. You can call the [ListDocumentCollections](~~2618452~~) operation to view existing document collections.', 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'formData', 'schema' => ['description' => 'The password of the namespace.'."\n" ."\n" .'> This value is specified by the CreateNamespace operation.', 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'JobId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the document upload task, which is obtained from the UploadDocumentAsync operation.', 'type' => 'string', 'required' => true, 'example' => 'bf8f7bc4-9276-44f7-9c22-1d06edc8dfd1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The detailed information returned by the operation.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The status of this operation. Valid values:'."\n" .'- **success**: The operation is successful.'."\n" .'- **fail**: The operation failed.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Job' => [ 'description' => 'The details of the document upload task.', 'type' => 'object', 'properties' => [ 'Id' => ['description' => 'Job ID。', 'type' => 'string', 'example' => '231460f8-75dc-405e-a669-0c5204887e91', 'title' => ''], 'Completed' => ['description' => 'Indicates whether the operation is complete.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], 'CreateTime' => ['description' => 'The time when the task was created.', 'type' => 'string', 'example' => '2024-01-08 16:52:04.864664', 'title' => ''], 'UpdateTime' => ['description' => 'The time when the task was last updated.', 'type' => 'string', 'example' => '2024-01-08 16:53:04.864664', 'title' => ''], 'Status' => ['description' => 'The task status. Valid values:'."\n" .'- Success: The task is successful.'."\n" .'- Failed: The task failed. You can view the Error field for the failure reason.'."\n" .'- Cancelling: The task is being canceled.'."\n" .'- Cancelled: The task is canceled.'."\n" .'- Start: The task has started.'."\n" .'- Running: The task is running.'."\n" .'- Pending: The task is pending.', 'type' => 'string', 'example' => 'Running', 'title' => ''], 'Error' => ['description' => 'The error message returned when the operation encounters an exception or fails.', 'type' => 'string', 'example' => 'Failed to connect database.', 'title' => ''], 'Progress' => ['description' => 'The upload progress. This value is a percentage. A value of 100 indicates that the upload is complete.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InternalError', 'title' => ''], ], 'title' => '', 'example' => '', ], 'ChunkResult' => [ 'description' => 'The chunking result.', 'type' => 'object', 'properties' => [ 'ChunkFileUrl' => ['description' => 'The URL of the chunked file. The URL is valid for 2 hours. The file is in JSONL format, and each line is in the format `{"page_content":"*****", "metadata": {"**":"***","**":"***"}`.', 'type' => 'string', 'example' => 'http://xxx/test.jsonl', 'title' => ''], 'PlainChunkFileUrl' => ['description' => 'The URL of the chunked file without metadata. The URL is valid for 2 hours. The file is in plain text format, and each line represents a chunk. This file can be conveniently used for embedding.', 'type' => 'string', 'example' => 'http://xxx/test.txt', 'title' => ''], 'DocumentLoaderResultFileUrl' => ['description' => 'The markdown result file parsed by ADBPGLoader. The URL is valid for 2 hours.', 'type' => 'string', 'example' => 'http://oss.xxx/adbpg_loader_result.md', 'title' => ''], ], 'title' => '', 'example' => '', ], 'Usage' => [ 'description' => 'The number of tokens or entries consumed by document understanding or embedding.', 'type' => 'object', 'properties' => [ 'EmbeddingTokens' => ['description' => 'The number of tokens used during embedding.'."\n" ."\n" .'> A token is the smallest unit into which the input text is split. A token can be a word, a phrase, a punctuation mark, or a character.', 'type' => 'integer', 'format' => 'int32', 'example' => '475', 'title' => ''], 'EmbeddingEntries' => ['description' => 'The number of entries used during embedding.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'gatewayOptions' => [ 'gatewayProtocols' => [], ], 'title' => 'Get upload document task', 'summary' => 'Retrieves the progress and result of an asynchronous document upload task by job ID.', 'description' => 'This operation is related to UploadDocumentAsync. You can call UploadDocumentAsync to create an upload task and obtain a job ID, and then call this operation to view the execution information of the job.'."\n" ."\n" .'> Usage notes'."\n" .'> - Estimate the timeout based on the document complexity and the number of vector entries after chunking. The timeout generally does not exceed 2 hours.', 'changeSet' => [ ['createdAt' => '2025-07-30T13:43:25.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2024-10-14T18:10:31.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2024-01-18T02:32:57.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUploadDocumentJob'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:GetUploadDocumentJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"Job\\": {\\n \\"Id\\": \\"231460f8-75dc-405e-a669-0c5204887e91\\",\\n \\"Completed\\": false,\\n \\"CreateTime\\": \\"2024-01-08 16:52:04.864664\\",\\n \\"UpdateTime\\": \\"2024-01-08 16:53:04.864664\\",\\n \\"Status\\": \\"Running\\",\\n \\"Error\\": \\"Failed to connect database.\\",\\n \\"Progress\\": 20,\\n \\"ErrorCode\\": \\"InternalError\\"\\n },\\n \\"ChunkResult\\": {\\n \\"ChunkFileUrl\\": \\"http://xxx/test.jsonl\\",\\n \\"PlainChunkFileUrl\\": \\"http://xxx/test.txt\\",\\n \\"DocumentLoaderResultFileUrl\\": \\"http://oss.xxx/adbpg_loader_result.md\\"\\n },\\n \\"Usage\\": {\\n \\"EmbeddingTokens\\": 475,\\n \\"EmbeddingEntries\\": 10\\n }\\n}","type":"json"}]', 'translator' => 'machine', ], 'GetUpsertCollectionDataJob' => [ 'summary' => 'Queries the progress and result of an asynchronous vector data upload job by using a job ID.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '208254', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'formData', 'schema' => ['description' => 'The name of the collection.'."\n" ."\n" .'> You can call the [ListCollections](~~2401503~~) operation to query a list of collections.'."\n", 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'formData', 'schema' => ['description' => 'The name of the namespace. Default value: public.'."\n" ."\n" .'> You can call the CreateNamespace operation to create a namespace and call the ListNamespaces operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'formData', 'schema' => ['description' => 'The password of the namespace.'."\n" ."\n" .'> The value of this parameter is specified when you call the CreateNamespace operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'JobId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the vector data upload job. You can call the `UpsertCollectionDataAsync` operation to query the job ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '231460f8-75dc-405e-a669-0c5204887e91', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. You must specify one of the WorkspaceId and DBInstanceId parameters. If you specify both parameters, the WorkspaceId parameter takes effect.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Job' => [ 'description' => 'The information about the vector data upload job.'."\n", 'type' => 'object', 'properties' => [ 'Id' => ['description' => 'The job ID.'."\n", 'type' => 'string', 'example' => '231460f8-75dc-405e-a669-0c5204887e91', 'title' => ''], 'Completed' => ['description' => 'Indicates whether the operation is complete.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], 'CreateTime' => ['description' => 'The time when the job was created.'."\n", 'type' => 'string', 'example' => '2024-01-08 16:52:04.864664', 'title' => ''], 'UpdateTime' => ['description' => 'The time when the job was updated.'."\n", 'type' => 'string', 'example' => '2024-01-08 16:53:04.864664', 'title' => ''], 'Status' => ['description' => 'The status of the job.'."\n" ."\n" .'> Valid values:'."\n" ."\n" .'* Success'."\n" ."\n" .'* Failed (See the Error parameter for failure reasons.)'."\n" ."\n" .'* Cancelling'."\n" ."\n" .'* Cancelled'."\n" ."\n" .'* Start'."\n" ."\n" .'* Running'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], 'Error' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'Failed to connect database.', 'title' => ''], 'Progress' => ['description' => 'The progress of the vector data upload job. The value of this parameter indicates the number of data entries that have been uploaded.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1600', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Status\\": \\"success\\",\\n \\"Message\\": \\"success\\",\\n \\"Job\\": {\\n \\"Id\\": \\"231460f8-75dc-405e-a669-0c5204887e91\\",\\n \\"Completed\\": false,\\n \\"CreateTime\\": \\"2024-01-08 16:52:04.864664\\",\\n \\"UpdateTime\\": \\"2024-01-08 16:53:04.864664\\",\\n \\"Status\\": \\"Success\\",\\n \\"Error\\": \\"Failed to connect database.\\",\\n \\"Progress\\": 1600\\n }\\n}","type":"json"}]', 'title' => 'GetUpsertCollectionDataJob', 'description' => '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.'."\n" ."\n" .'> 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.'."\n", 'changeSet' => [ ['createdAt' => '2024-08-04T13:55:04.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUpsertCollectionDataJob'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:GetUpsertCollectionDataJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], ], 'GrantCollection' => [ 'summary' => 'Grants vector collection permissions to a namespace.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance in reserved storage mode.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the collection.'."\n" ."\n" .'> You can call the [CreateCollection](~~2401497~~) operation to create a vector collection and call the [ListCollections](~~2401503~~) operation to query a list of vector collections.'."\n", 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'GrantToNamespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace to which you want to grant the vector collection permissions.'."\n", 'type' => 'string', 'required' => true, 'example' => 'othernamespace', 'title' => ''], ], [ 'name' => 'GrantType', 'in' => 'query', 'schema' => [ 'description' => 'The type of the permissions that you want to grant. Valid values:'."\n" ."\n" .'* rw: the read and write permissions.'."\n" .'* ro: the read-only permission.'."\n" .'* none: the delete permission.'."\n", 'type' => 'string', 'required' => true, 'example' => 'rw', 'enum' => ['rw', 'ro', 'none'], 'title' => '', ], ], [ 'name' => 'ManagerAccount', 'in' => 'query', 'schema' => ['description' => 'The name of the manager account that has the rds_superuser permission.'."\n" ."\n" .'> You can create an account on the Account Management page of the AnalyticDB for PostgreSQL console or by calling the [CreateAccount](~~2361789~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testaccount', 'title' => ''], ], [ 'name' => 'ManagerAccountPassword', 'in' => 'query', 'schema' => ['description' => 'The password of the manager account.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.'."\n" ."\n" .'> You can call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"Successful\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'GrantCollection', 'changeSet' => [ ['createdAt' => '2023-11-07T11:35:35.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GrantCollection'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:GrantCollection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], ], 'HandleActiveSQLRecord' => [ 'summary' => 'Processes active queries.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp***************', 'title' => ''], ], [ 'name' => 'Pids', 'in' => 'query', 'schema' => ['description' => 'The process IDs. A process ID is a unique identifier of a query.'."\n", 'type' => 'string', 'required' => true, 'example' => '"3003925,3003928"', 'title' => ''], ], [ 'name' => 'OperateType', 'in' => 'query', 'schema' => [ 'description' => 'The type of the operation on the process ID. Valid values:'."\n" ."\n" .'* **0**: cancel.'."\n" .'* **1**: terminate.'."\n" .'* **2**: forcefully terminate.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'enum' => ['0', '1'], 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **false**'."\n" .'* **true**'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''], 'DBInstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'gp-bp***************', 'title' => ''], 'Results' => [ 'description' => 'The processing result of the active query.'."\n", 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'Indicates whether the processing was successful. Valid values:'."\n" ."\n" .'* **false**'."\n" .'* **true**'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''], 'Pid' => ['description' => 'The process ID, which is a unique identifier of the query.'."\n", 'type' => 'string', 'example' => '3003925', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Status\\": \\"true\\",\\n \\"DBInstanceId\\": \\"gp-bp***************\\",\\n \\"Results\\": [\\n {\\n \\"Status\\": \\"true\\",\\n \\"Pid\\": \\"3003925\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'HandleActiveSQLRecord', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'HandleActiveSQLRecord'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:HandleActiveSQLRecord', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'InitVectorDatabase' => [ 'summary' => 'Initializes vector databases.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '187877', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'ManagerAccount', 'in' => 'query', 'schema' => ['description' => 'The name of the manager account that has the rds_superuser permission.'."\n" ."\n" .'> You can create an account on the Account Management page of the AnalyticDB for PostgreSQL console or by calling the [CreateAccount](~~2361789~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testaccount', 'title' => ''], ], [ 'name' => 'ManagerAccountPassword', 'in' => 'query', 'schema' => ['description' => 'The password of the database account.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. You must specify one of the WorkspaceId and DBInstanceId parameters. If you specify both parameters, the WorkspaceId parameter takes effect.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The error message returned if the request fails.'."\n", 'type' => 'string', 'example' => 'failed to connect database, detailMsg: getConnection fail::SQL State: 28P01, Error Code: 0, Error Message: FATAL: password', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **Success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"failed to connect database, detailMsg: getConnection fail::SQL State: 28P01, Error Code: 0, Error Message: FATAL: password\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'InitVectorDatabase', 'changeSet' => [ ['createdAt' => '2024-08-04T13:55:04.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-11-07T11:35:36.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InitVectorDatabase'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:InitVectorDatabase', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ListAINodePools' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521'], 'AINodePoolInfos' => [ 'description' => 'The details of the AI node resource pools.', 'type' => 'array', 'items' => [ 'description' => 'The details of the AI node resource pools.', 'type' => 'object', 'properties' => [ 'AINodePoolId' => ['description' => 'The ID of the resource pool to which the AI node belongs.', 'type' => 'string', 'example' => 'aipool-xxxxxxxxx', 'title' => ''], 'NodeNum' => ['description' => 'The number of nodes.', 'type' => 'string', 'example' => '2', 'title' => ''], 'AINodeInfos' => [ 'description' => 'The detailed information about the AI nodes.', 'type' => 'array', 'items' => [ 'description' => 'The detailed information about the AI nodes.', 'type' => 'object', 'properties' => [ 'NodeName' => ['description' => 'The name of the AI node.', 'type' => 'string', 'example' => 'ai-xxxxxxxxx', 'title' => ''], 'Namespace' => ['description' => 'The namespace.', 'type' => 'string', 'example' => 'adbpg-ainode', 'title' => ''], 'NodeSpec' => ['description' => 'The node specifications of the AI node. The following specifications are supported:'."\n" ."\n" .'```'."\n" .'ADB.AIMedium.1'."\n" .'ADB.AILarge.1'."\n" .'ADB.AIStandard.2'."\n" .'ADB.AIMedium.2'."\n" .'ADB.AILarge.2'."\n" .'ADB.AIXLarge.2'."\n" .'ADB.AIStandard.6'."\n" .'ADB.AIMedium.6'."\n" .'ADB.AILarge.6'."\n" .'ADB.AIXLarge.6'."\n" .'ADB.AIStandard.3'."\n" .'ADB.AIMedium.3'."\n" .'ADB.AILarge.3'."\n" .'ADB.AIXLarge.3'."\n" .'ADB.AIStandard.4'."\n" .'ADB.AIMedium.4'."\n" .'ADB.AILarge.4'."\n" .'ADB.AIXLarge.4'."\n" .'ADB.AIStandard.5'."\n" .'ADB.AIMedium.5'."\n" .'ADB.AILarge.5'."\n" .'ADB.AIXLarge.5'."\n" .'ADB.AIStandard.8'."\n" .'ADB.AIMedium.8'."\n" .'ADB.AILarge.8'."\n" .'ADB.AIXLarge.8'."\n" .'ADB.AI2XLarge.8'."\n" .'```', 'type' => 'string', 'example' => 'ADB.AIStandard.1', 'title' => ''], 'CreateTime' => ['description' => 'The time when the AI node was created.', 'type' => 'string', 'example' => '2024-10-09T02:07:15Z', 'title' => ''], 'UpdateTime' => ['description' => 'The time when the AI node was last updated.', 'type' => 'string', 'example' => '2025-06-16T02:04:42Z', 'title' => ''], 'BindStatus' => ['description' => 'The status of the AI node. Valid values:'."\n" .'- unbound: The AI node is not bound.'."\n" .'- bound: The AI node is bound.', 'type' => 'string', 'example' => 'bound', 'title' => ''], 'BindObject' => ['description' => 'The type of the object to which the AI node is bound.', 'type' => 'string', 'example' => 'model_serving', 'title' => ''], 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-j', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'List AI node resource pool information', 'summary' => 'Queries the list of AI nodes.', 'description' => '- This operation is used to query the list of AI nodes.', 'changeSet' => [ ['createdAt' => '2025-12-04T12:42:51.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ListAINodePools', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"AINodePoolInfos\\": [\\n {\\n \\"AINodePoolId\\": \\"aipool-xxxxxxxxx\\",\\n \\"NodeNum\\": \\"2\\",\\n \\"AINodeInfos\\": [\\n {\\n \\"NodeName\\": \\"ai-xxxxxxxxx\\",\\n \\"Namespace\\": \\"adbpg-ainode\\",\\n \\"NodeSpec\\": \\"ADB.AIStandard.1\\",\\n \\"CreateTime\\": \\"2024-10-09T02:07:15Z\\",\\n \\"UpdateTime\\": \\"2025-06-16T02:04:42Z\\",\\n \\"BindStatus\\": \\"bound\\",\\n \\"BindObject\\": \\"model_serving\\",\\n \\"ZoneId\\": \\"cn-hangzhou-j\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', 'translator' => 'machine', ], 'ListAIServices' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including instance IDs.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Type', 'in' => 'query', 'schema' => ['description' => 'The service type. Currently, only drama is supported.', 'type' => 'string', 'required' => true, 'example' => 'drama', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" .'- 20'."\n" .'- 50'."\n" .'- 100'."\n" ."\n" .'Default value: 20.', 'type' => 'string', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'PageNumber' => ['description' => 'The current page number.', 'type' => 'string', 'example' => '1', 'title' => ''], 'PageRecordCount' => ['description' => 'The number of entries on the current page.', 'type' => 'string', 'example' => '1', 'title' => ''], 'TotalRecordCount' => ['description' => 'The total number of entries.', 'type' => 'string', 'example' => '1', 'title' => ''], 'Services' => [ 'description' => 'The list of services.', 'type' => 'array', 'items' => [ 'description' => 'The service details.', 'type' => 'object', 'properties' => [ 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'drama-123456', 'title' => ''], 'ServiceAccount' => ['description' => 'The service account.', 'type' => 'string', 'example' => 'dramauser', 'title' => ''], 'Status' => ['description' => 'The service status. Valid values:'."\n" .'- deploying: being deployed'."\n" .'- active: running', 'type' => 'string', 'example' => 'active', 'title' => ''], 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'dramatest', 'title' => ''], 'PublicWorkbenchUrl' => ['description' => 'The public endpoint of the workbench.', 'type' => 'string', 'example' => '8.8.8.8', 'title' => ''], 'PrivateWorkbenchUrl' => ['description' => 'The internal endpoint of the workbench.', 'type' => 'string', 'example' => '192.168.0.1', 'title' => ''], 'PublicApiDevUrl' => ['description' => 'The public endpoint for API debugging.', 'type' => 'string', 'example' => '8.8.8.8/api-docs', 'title' => ''], 'PrivateApiDevUrl' => ['description' => 'The internal endpoint for API debugging.', 'type' => 'string', 'example' => '192.168.0.1/api-docs', 'title' => ''], 'SecurityIpList' => ['description' => 'The list of IP addresses in the IP address whitelist group, separated by commas.', 'type' => 'string', 'example' => '127.0.0.1', 'title' => ''], 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2026-03-01T00:00:00Z', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Retrieve AI service list', 'summary' => 'Retrieves the list of AI services.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ListAIServices', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"PageNumber\\": \\"1\\",\\n \\"PageRecordCount\\": \\"1\\",\\n \\"TotalRecordCount\\": \\"1\\",\\n \\"Services\\": [\\n {\\n \\"ServiceId\\": \\"drama-123456\\",\\n \\"ServiceAccount\\": \\"dramauser\\",\\n \\"Status\\": \\"active\\",\\n \\"Description\\": \\"dramatest\\",\\n \\"PublicWorkbenchUrl\\": \\"8.8.8.8\\",\\n \\"PrivateWorkbenchUrl\\": \\"192.168.0.1\\",\\n \\"PublicApiDevUrl\\": \\"8.8.8.8/api-docs\\",\\n \\"PrivateApiDevUrl\\": \\"192.168.0.1/api-docs\\",\\n \\"SecurityIpList\\": \\"127.0.0.1\\",\\n \\"CreateTime\\": \\"2026-03-01T00:00:00Z\\"\\n }\\n ]\\n}","type":"json"}]', 'translator' => 'machine', ], 'ListBackupJobs' => [ 'summary' => 'Queries a list of backup jobs.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '233253', 'abilityTreeNodes' => ['FEATUREgpdbS95BLZ'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'BackupMode', 'in' => 'query', 'schema' => ['description' => 'The backup mode. Valid values:'."\n" ."\n" .'* Automated'."\n" .'* Manual'."\n" ."\n" .'If you do not specify this parameter, all backup sets are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Automated', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Items' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'BackupJob' => [ 'description' => 'The queried backup jobs.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'BackupJobId' => ['description' => 'The backup job ID.'."\n", 'type' => 'string', 'example' => '123', 'title' => ''], 'BackupMode' => ['description' => 'The backup mode. Valid values:'."\n" ."\n" .'* **Automated**'."\n" .'* **Manual**'."\n", 'type' => 'string', 'example' => 'Automated', 'title' => ''], 'BackupStatus' => ['description' => 'The backup status. Valid values:'."\n" ."\n" .'* **Success**'."\n" .'* **Failure**'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], 'Process' => ['description' => 'The progress of the backup job.'."\n", 'type' => 'string', 'example' => '50%', 'title' => ''], 'StartTime' => ['description' => 'The time when the backup job started. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2022-08-11T09:26:43Z', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Items\\": {\\n \\"BackupJob\\": [\\n {\\n \\"BackupJobId\\": \\"123\\",\\n \\"BackupMode\\": \\"Automated\\",\\n \\"BackupStatus\\": \\"Success\\",\\n \\"Process\\": \\"50%\\",\\n \\"StartTime\\": \\"2022-08-11T09:26:43Z\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'ListBackupJobs', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ListBackupJobs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ListBranches' => [ 'summary' => 'Queries the branch list of a Supabase project.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID. This parameter is required when you create a primary branch. When you create a sub-branch, the region is inherited from the primary branch by default.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of records per page.'."\n" ."\n" .'Valid values:'."\n" .'- 10'."\n" .'- 20'."\n" .'- 50'."\n" .'- 100'."\n" ."\n" .'Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '20', 'example' => '20', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. The value must be greater than 0. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''], ], [ 'name' => 'ParentBranchId', 'in' => 'query', 'schema' => ['description' => 'The parent branch ID. This parameter specifies the parent branch for a new branch or a query filter.', 'type' => 'string', 'required' => false, 'example' => 'br-main', 'title' => ''], ], [ 'name' => 'Search', 'in' => 'query', 'schema' => ['description' => 'The search keyword. Fuzzy search by branch ID or branch name is supported.', 'type' => 'string', 'required' => false, 'example' => 'main', 'title' => ''], ], [ 'name' => 'SortBy', 'in' => 'query', 'schema' => ['description' => 'The field by which to sort the results.'."\n" ."\n" .'Valid values:'."\n" .'- BranchName: sorts by branch name.'."\n" .'- CreateTime: sorts by creation time.'."\n" .'- LastRunTime: sorts by last run time.'."\n" ."\n" .'Default value: CreateTime.', 'type' => 'string', 'required' => false, 'default' => 'CreateTime', 'example' => 'CreateTime', 'title' => ''], ], [ 'name' => 'SortOrder', 'in' => 'query', 'schema' => ['description' => 'The sort order.'."\n" ."\n" .'Valid values:'."\n" .'- Asc: ascending order.'."\n" .'- Desc: descending order.'."\n" ."\n" .'Default value: Desc.', 'type' => 'string', 'required' => false, 'default' => 'Desc', 'example' => 'Desc', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The cursor for the paged query. You do not need to specify this parameter for the first request. For subsequent requests, use the NextToken value returned in the previous response for paging.', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => 'The maximum number of records to return in this request.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D****', 'title' => ''], 'TotalCount' => ['description' => 'The total number of branches that match the query criteria.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], 'PageNumber' => ['description' => 'The page number. The value must be greater than 0. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageSize' => ['description' => 'The number of records per page.'."\n" ."\n" .'Valid values:'."\n" .'- 10'."\n" .'- 20'."\n" .'- 50'."\n" .'- 100'."\n" ."\n" .'Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], 'Branches' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Branch' => [ 'description' => 'The branch list. Each element represents a Supabase branch.', 'type' => 'array', 'items' => [ 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'BranchId' => ['description' => 'The branch ID, which uniquely identifies a Supabase branch.', 'type' => 'string', 'example' => 'br-xxxx', 'title' => ''], 'BranchName' => ['description' => 'The branch name.', 'type' => 'string', 'example' => 'dev', 'title' => ''], 'IsDefault' => ['description' => 'Indicates whether this is the default branch.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Description' => ['description' => 'The branch description.', 'type' => 'string', 'example' => 'test branch', 'title' => ''], 'ParentBranchName' => ['description' => 'The parent branch name. This value is empty or displayed as - for the primary branch.', 'type' => 'string', 'example' => 'main', 'title' => ''], 'ParentBranchId' => ['description' => 'The parent branch ID. This parameter specifies the parent branch for a new branch or a query filter.', 'type' => 'string', 'example' => 'br-main', 'title' => ''], 'ServiceType' => ['description' => 'The service type.'."\n" ."\n" .'Valid values:'."\n" .'- Supabase: Supabase service.'."\n" .'- Memory: Memory service.', 'type' => 'string', 'example' => 'Supabase', 'title' => ''], 'ProjectId' => ['description' => 'The Supabase project ID associated with the primary branch.', 'type' => 'string', 'example' => 'spb-xxxx', 'title' => ''], 'CreateTime' => ['description' => 'The branch creation time in ISO 8601 UTC format.', 'type' => 'string', 'example' => '2026-04-08T09:11:12Z', 'title' => ''], 'Status' => ['description' => 'The branch status.', 'type' => 'string', 'example' => 'Running', 'title' => ''], 'Tags' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Tag' => [ 'description' => 'The branch tag list.', 'type' => 'array', 'items' => [ 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'env', 'title' => ''], 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'dev', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'ExpiresAt' => ['description' => 'The time when the branch automatically expires and is deleted, in ISO 8601 UTC format.', 'type' => 'string', 'example' => '2026-10-08T09:11:12Z', 'title' => ''], 'InitSource' => ['description' => 'The initialization source of the branch.'."\n" ."\n" .'Valid values:'."\n" .'- ParentData: copies the schema and data from the parent branch. This is the default value.'."\n" .'- SchemaOnly: copies only the schema structure.', 'type' => 'string', 'example' => 'ParentData', 'title' => ''], 'Protected' => ['description' => 'Indicates whether branch protection is enabled.'."\n" ."\n" .'Valid values:'."\n" .'- true: Branch protection is enabled.'."\n" .'- false: Branch protection is disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], 'ParentTimestamp' => ['description' => 'The data synchronization point in time selected from the parent branch when this branch was created, in ISO 8601 UTC format.'."\n" ."\n" .'Note:'."\n" .'- For sub-branches, this value indicates the point in time of the parent branch selected during creation.'."\n" .'- If no parent branch exists, the value is 1970-01-01T00:00:00.000Z.', 'type' => 'string', 'example' => '2026-04-08T09:11:12Z', 'title' => ''], 'ParentLSN' => ['description' => 'The Log Sequence Number (LSN) of the parent branch at the time this branch was created.', 'type' => 'string', 'example' => '0/3522648', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'MaxResults' => ['description' => 'The maximum number of records to return in this request.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], 'NextToken' => ['description' => 'The cursor for the paged query. You do not need to specify this parameter for the first request. For subsequent requests, use the NextToken value returned in the previous response for paging.', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Query branch list', 'description' => 'Performs a paged query for all branches under a specified Supabase project. You can filter branches by parent branch, keyword, and sorting criteria. Paging is supported.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListBranches', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D****\\",\\n \\"TotalCount\\": 20,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"Branches\\": {\\n \\"Branch\\": [\\n {\\n \\"BranchId\\": \\"br-xxxx\\",\\n \\"BranchName\\": \\"dev\\",\\n \\"IsDefault\\": true,\\n \\"Description\\": \\"test branch\\",\\n \\"ParentBranchName\\": \\"main\\",\\n \\"ParentBranchId\\": \\"br-main\\",\\n \\"ServiceType\\": \\"Supabase\\",\\n \\"ProjectId\\": \\"spb-xxxx\\",\\n \\"CreateTime\\": \\"2026-04-08T09:11:12Z\\",\\n \\"Status\\": \\"Running\\",\\n \\"Tags\\": {\\n \\"Tag\\": [\\n {\\n \\"Key\\": \\"env\\",\\n \\"Value\\": \\"dev\\"\\n }\\n ]\\n },\\n \\"ExpiresAt\\": \\"2026-10-08T09:11:12Z\\",\\n \\"InitSource\\": \\"ParentData\\",\\n \\"Protected\\": false,\\n \\"ParentTimestamp\\": \\"2026-04-08T09:11:12Z\\",\\n \\"ParentLSN\\": \\"0/3522648\\"\\n }\\n ]\\n },\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'ListChunks' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including instance IDs.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The namespace. Default value: public.'."\n" ."\n" .'> You can create a namespace by calling the [CreateNamespace](~~2401495~~) operation and query the list of namespaces by calling the [ListNamespaces](~~2401502~~) operation.', 'type' => 'string', 'default' => 'public', 'required' => false, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password of the namespace.'."\n" .'> This value is specified by the [CreateNamespace](~~2401495~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the document collection.'."\n" ."\n" .'> The document collection is created by calling the [CreateDocumentCollection](~~2618448~~) operation. You can call the [ListDocumentCollections](~~2618452~~) operation to query existing document collections.', 'type' => 'string', 'required' => true, 'example' => 'testcollection', 'title' => ''], ], [ 'name' => 'FileName', 'in' => 'query', 'schema' => ['description' => 'The file name.'."\n" ."\n" .'> The name of a previously uploaded file. You can call the [ListDocuments](~~2618453~~) operation to query the file list.', 'type' => 'string', 'required' => false, 'example' => 'mydoc.txt', 'title' => ''], ], [ 'name' => 'Filter', 'in' => 'query', 'schema' => ['description' => 'The filter condition for the data to query, in SQL WHERE clause format. The filter is an expression that returns a Boolean value (true or false). Conditions can be simple comparison operators such as equal to (=), not equal to (<> or !=), greater than (>), less than (<), greater than or equal to (>=), and less than or equal to (<=). You can also use logical operators (AND, OR, NOT) to combine more complex expressions, as well as conditions with the IN, BETWEEN, and LIKE keywords.'."\n" ."\n" .'> '."\n" .'> - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where/', 'type' => 'string', 'required' => false, 'example' => 'title = \'test\' AND name like \'test%\'', 'title' => ''], ], [ 'name' => 'IncludeVector', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to return vectors. Default value: false.'."\n" .'> - **false**: Does not return vectors.'."\n" .'> - **true**: Returns vectors.', 'type' => 'boolean', 'default' => 'true', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of records per page. Valid values:'."\n" ."\n" .'- **20**'."\n" .'- **50**'."\n" .'- **100**'."\n" ."\n" .'Default value: **20**.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '34b32a0a-08ef-4a87-b6be-cdd9f56fc3ad', 'title' => ''], 'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'PageRecordCount' => ['description' => 'The number of records on the current page.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], 'TotalRecordCount' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '30', 'title' => ''], 'Chunks' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'chunks' => [ 'description' => 'The list of document chunks.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Id' => ['description' => 'The unique ID of the vector data.', 'type' => 'string', 'example' => 'doc_1234', 'title' => ''], 'Content' => ['description' => 'The text content.', 'type' => 'string', 'example' => 'AnalyticDB for PostgreSQL provides a simple, fast, and cost-effective PB-level cloud data warehousing solution.', 'title' => ''], 'Vector' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'vector' => [ 'description' => 'The list of vector data.', 'type' => 'array', 'items' => ['description' => 'The vector data.', 'type' => 'number', 'format' => 'double', 'example' => '[1.2123,-0.12314,...]', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'Metadata' => [ 'description' => 'The metadata.', 'type' => 'object', 'additionalProperties' => ['description' => 'The metadata of the vector data, in MAP-formatted JSON string. The key represents the field name, and the value represents the data type.', 'type' => 'any', 'example' => '{"title":"test"}', 'title' => ''], 'title' => '', 'example' => '', ], 'LoaderMetadata' => ['description' => 'The metadata generated by the document loader during loading.', 'type' => 'string', 'example' => '{"page_index":0}', 'title' => ''], 'FileName' => ['description' => 'The file name.', 'type' => 'string', 'example' => 'mydoc.txt'."\n", 'title' => ''], 'PageIndex' => ['description' => 'The page number within the file.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'Retrieve document chunk details', 'summary' => 'Retrieves the details of document chunks.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"34b32a0a-08ef-4a87-b6be-cdd9f56fc3ad\\",\\n \\"PageNumber\\": 1,\\n \\"PageRecordCount\\": 20,\\n \\"TotalRecordCount\\": 30,\\n \\"Chunks\\": {\\n \\"chunks\\": [\\n {\\n \\"Id\\": \\"doc_1234\\",\\n \\"Content\\": \\"AnalyticDB for PostgreSQL provides a simple, fast, and cost-effective PB-level cloud data warehousing solution.\\",\\n \\"Vector\\": {\\n \\"vector\\": [\\n 0\\n ]\\n },\\n \\"Metadata\\": {\\n \\"key\\": \\"{\\\\\\"title\\\\\\":\\\\\\"test\\\\\\"}\\"\\n },\\n \\"LoaderMetadata\\": \\"{\\\\\\"page_index\\\\\\":0}\\",\\n \\"FileName\\": \\"mydoc.txt\\\\n\\",\\n \\"PageIndex\\": 1\\n }\\n ]\\n }\\n}","type":"json"}]', 'translator' => 'machine', ], 'ListCollections' => [ 'summary' => 'Queries a list of vector collections.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182825', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password of the namespace.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. You must specify one of the WorkspaceId and DBInstanceId parameters. If you specify both parameters, the WorkspaceId parameter takes effect.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Count' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Collections' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Collection' => [ 'description' => 'The queried vector collections.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the collection.'."\n", 'type' => 'string', 'example' => '["document"]', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'DBInstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'gp-xxxxxxxxx', 'title' => ''], 'RegionId' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'Namespace' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'example' => 'mynamespace', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Count\\": 1,\\n \\"Collections\\": {\\n \\"Collection\\": [\\n \\"[\\\\\\"document\\\\\\"]\\"\\n ]\\n },\\n \\"DBInstanceId\\": \\"gp-xxxxxxxxx\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"Namespace\\": \\"mynamespace\\",\\n \\"Message\\": \\"Successful\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'ListCollections', 'changeSet' => [ ['createdAt' => '2024-08-04T13:55:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-11-07T11:35:35.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCollections'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:ListCollections', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], ], 'ListDatabaseExtensions' => [ 'summary' => 'List all extensions installed in the instance.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '239997', 'abilityTreeNodes' => ['FEATUREgpdbQ0N7UN'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances in the specified region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'DatabaseName', 'in' => 'query', 'schema' => ['description' => 'The name of the database. The following restrictions apply:'."\n" ."\n" .'* Contain letters, digits, and underscores (\\_).'."\n" .'* Must start with a letter.'."\n" .'* Up to 63 characters in length.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test01', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of response.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521'], 'Extensions' => [ 'description' => 'Extension list.'."\n", 'type' => 'array', 'items' => [ 'description' => 'Extension.'."\n", 'type' => 'object', 'properties' => [ 'ExtensionName' => ['description' => 'The extension name.'."\n", 'type' => 'string', 'example' => 'zhparser', 'title' => ''], 'Status' => ['description' => 'The status of the extension.'."\n", 'type' => 'string', 'example' => 'installed', 'title' => ''], 'Description' => ['description' => 'The description of the extension.'."\n", 'type' => 'string', 'example' => 'zhparser', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Extensions\\": [\\n {\\n \\"ExtensionName\\": \\"zhparser\\",\\n \\"Status\\": \\"installed\\",\\n \\"Description\\": \\"zhparser\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListDatabaseExtensions', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListDatabaseExtensions', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'manual', ], 'ListDatabases' => [ 'summary' => 'Queries a list of databases.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '225534', 'abilityTreeNodes' => ['FEATUREgpdb95T353'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'SecretArn', 'in' => 'query', 'schema' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the access credential for the created Data API account. You can call the CreateSecret operation to create an access credential.'."\n" ."\n" .'> To call the DescribeTable operation as a Resource Access Management (RAM) user, the RAM user must have the permissions to call the UseSecret or GetSecretValue operation on the ARN of the access credential.'."\n", 'type' => 'string', 'required' => true, 'example' => 'acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testdb', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => 'The maximum number of entries per page. Valid values: 1 to 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'NextToken' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n", 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', 'title' => ''], 'Databases' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Databases' => [ 'description' => 'The queried databases.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the queried database.'."\n", 'type' => 'string', 'example' => 'acc_001', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\",\\n \\"Databases\\": {\\n \\"Databases\\": [\\n \\"acc_001\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => 'ListDatabases', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatabases'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListDatabases', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListDocumentCollections' => [ 'summary' => 'Lists document collections.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> To view details of all AnalyticDB for PostgreSQL instances in a region, including their IDs, call the [DescribeDBInstances](~~86911~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The namespace. Default value: public.'."\n" ."\n" .'> To create a namespace, call the [CreateNamespace](~~2401495~~) operation. To list namespaces, call the [ListNamespaces](~~2401502~~) operation.', 'type' => 'string', 'default' => 'public', 'required' => false, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password for the namespace.'."\n" ."\n" .'> You set this password when you call the [CreateNamespace](~~2401495~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The ID of the region where the instance resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Status' => ['description' => 'The creation status. Valid values:'."\n" ."\n" .'- **success**: The operation succeeded.'."\n" ."\n" .'- **fail**: The operation failed.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Count' => ['description' => 'The total number of items.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'Items' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'CollectionList' => [ 'description' => 'The list of document collections.', 'type' => 'array', 'items' => [ 'description' => 'Information about a document collection.', 'type' => 'object', 'properties' => [ 'CollectionName' => ['description' => 'The name of the document collection.', 'type' => 'string', 'example' => 'document', 'title' => ''], 'EmbeddingModel' => ['description' => 'The embedding algorithm.', 'type' => 'string', 'example' => 'text-embeddding-v1', 'title' => ''], 'Dimension' => ['description' => 'The vector dimensions.', 'type' => 'integer', 'format' => 'int32', 'example' => '1536', 'title' => ''], 'FullTextRetrievalFields' => ['description' => 'The fields used for full-text search. Separate multiple fields with commas (,).', 'type' => 'string', 'example' => 'title', 'title' => ''], 'Metadata' => ['description' => 'The metadata.', 'type' => 'string', 'example' => '{\'page\': \'int\', \'title\': \'text\'}', 'title' => ''], 'Parser' => ['description' => 'The tokenizer used for full-text search.', 'type' => 'string', 'example' => 'zh_cn', 'title' => ''], 'Metrics' => ['description' => 'The vector similarity algorithm.', 'type' => 'string', 'example' => 'cosine', 'title' => ''], 'SupportSparse' => ['description' => 'Indicates whether sparse vectors are supported. Default value: false.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'SparseRetrievalFields' => ['description' => 'The metadata fields used to build sparse vectors. Separate multiple fields with commas (,).', 'type' => 'string', 'example' => 'title,abstract', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Status\\": \\"success\\",\\n \\"Message\\": \\"success\\",\\n \\"Count\\": 10,\\n \\"Items\\": {\\n \\"CollectionList\\": [\\n {\\n \\"CollectionName\\": \\"document\\",\\n \\"EmbeddingModel\\": \\"text-embeddding-v1\\",\\n \\"Dimension\\": 1536,\\n \\"FullTextRetrievalFields\\": \\"title\\",\\n \\"Metadata\\": \\"{\'page\': \'int\', \'title\': \'text\'}\\",\\n \\"Parser\\": \\"zh_cn\\",\\n \\"Metrics\\": \\"cosine\\",\\n \\"SupportSparse\\": true,\\n \\"SparseRetrievalFields\\": \\"title,abstract\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'ListDocumentCollections', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDocumentCollections'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:ListDocumentCollections', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'ListDocuments' => [ 'summary' => 'Queries a list of documents in a collection.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '193514', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query details about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace. Default value: public.'."\n" ."\n" .'> You can call the [CreateNamespace](~~2401495~~) operation to create a namespace and call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the document collection.'."\n" ."\n" .'> You can call the [CreateDocumentCollection](~~2618448~~) operation to create a document collection and call the [ListDocumentCollections](~~2618452~~) operation to query a list of document collections.'."\n", 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password of the namespace.'."\n" ."\n" .'> This value is specified when you call the [CreateNamespace](~~2401495~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => 'The maximum number of entries per page. Valid values: 1 to 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Items' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DocumentList' => [ 'description' => 'The queried documents.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The queried document.'."\n", 'type' => 'object', 'properties' => [ 'FileName' => ['description' => 'The name of the document.'."\n", 'type' => 'string', 'example' => 'music.txt', 'title' => ''], 'Source' => ['description' => 'The source of the document.'."\n", 'type' => 'string', 'example' => 'OSS', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'NextToken' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n", 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', 'title' => ''], 'Count' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"Successful\\",\\n \\"Status\\": \\"success\\",\\n \\"Items\\": {\\n \\"DocumentList\\": [\\n {\\n \\"FileName\\": \\"music.txt\\",\\n \\"Source\\": \\"OSS\\"\\n }\\n ]\\n },\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\",\\n \\"Count\\": 3\\n}","type":"json"}]', 'title' => 'ListDocuments', 'changeSet' => [ ['createdAt' => '2024-07-18T13:41:31.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDocuments'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:ListDocuments', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ], ], ], ], ], 'ListExternalDataServices' => [ 'summary' => 'Queries a list of external data services.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbYL5VZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID. You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp10g78o9807yv9h3', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'TotalRecordCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'PageNumber' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'ServiceItems' => [ 'description' => 'The queried services.'."\n", 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'ServiceId' => ['description' => 'The service ID.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], 'ServiceType' => [ 'description' => 'The type of the service. Valid values:'."\n" ."\n" .'* pxf'."\n", 'type' => 'string', 'enumValueTitles' => ['pxf' => 'pxf'], 'example' => 'pxf', 'title' => '', ], 'ServiceName' => ['description' => 'The name of the service.'."\n", 'type' => 'string', 'example' => 'test-pxf', 'title' => ''], 'ServiceDescription' => ['description' => 'The description of the service.'."\n", 'type' => 'string', 'example' => 'test-pxf', 'title' => ''], 'ServiceSpec' => ['description' => 'The specifications of the service. Unit: compute units (CUs).'."\n", 'type' => 'string', 'example' => '8', 'title' => ''], 'Status' => ['description' => 'The status of the service. Valid values:'."\n" ."\n" .'* Init'."\n" .'* Running'."\n" .'* Exception'."\n" .'* Paused'."\n", 'type' => 'string', 'example' => 'Running', 'title' => ''], 'CreateTime' => ['description' => 'The time when the service was created.'."\n", 'type' => 'string', 'example' => '2019-09-08T16:00:00Z', 'title' => ''], 'ModifyTime' => ['description' => 'The time when the service was last modified.'."\n", 'type' => 'string', 'example' => '2019-09-08T17:00:00Z', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"TotalRecordCount\\": 2,\\n \\"PageNumber\\": 1,\\n \\"ServiceItems\\": [\\n {\\n \\"ServiceId\\": \\"1\\",\\n \\"ServiceType\\": \\"pxf\\",\\n \\"ServiceName\\": \\"test-pxf\\",\\n \\"ServiceDescription\\": \\"test-pxf\\",\\n \\"ServiceSpec\\": \\"8\\",\\n \\"Status\\": \\"Running\\",\\n \\"CreateTime\\": \\"2019-09-08T16:00:00Z\\",\\n \\"ModifyTime\\": \\"2019-09-08T17:00:00Z\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListExternalDataServices', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListExternalDataServices'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListExternalDataServices', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ListExternalDataSources' => [ 'summary' => 'Queries a list of data sources.', 'methods' => ['post', 'get', 'put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbYL5VZY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gp-xxxxxxx', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" ."\n" .'* **30**'."\n" .'* **50**'."\n" .'* **100**'."\n" ."\n" .'Default value: 30.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. Pages start from page 1. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'BBE00C04-A3E8-4114-881D-0480A72CB92E', 'title' => ''], 'TotalRecordCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'PageNumber' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Items' => [ 'description' => 'The Hadoop external table services.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'DataSourceId' => ['description' => 'The service ID.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '123', 'title' => ''], 'DataSourceName' => ['description' => 'The name of the service.'."\n", 'type' => 'string', 'example' => 'hdfs_pxf', 'title' => ''], 'DataSourceType' => [ 'description' => 'The type of the data source.'."\n", 'type' => 'string', 'enumValueTitles' => ['hive' => 'hive', 'postgresql' => 'postgresql', 'hdfs' => 'hdfs', 'mysql' => 'mysql', 'sqlServer' => 'sqlServer'], 'example' => 'hdfs', 'title' => '', ], 'DataSourceDescription' => ['description' => 'The description of the data source.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'CreateTime' => ['description' => 'The time when the service was created.'."\n", 'type' => 'string', 'example' => '2019-09-08T16:00:00Z', 'title' => ''], 'ModifyTime' => ['description' => 'The time when the service was last modified.'."\n", 'type' => 'string', 'example' => '2019-10-08T16:00:00Z', 'title' => ''], 'DataSourceStatus' => ['description' => 'The status of the service. Valid values:'."\n" ."\n" .'* init'."\n" .'* running'."\n" .'* exception'."\n", 'type' => 'string', 'example' => 'Running', 'title' => ''], 'StatusMessage' => ['description' => 'The information about the service status. For example, if the service is in the exception state, the cause of the exception is displayed. If the service is in the running state, this parameter is left empty.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], 'DataSourceDir' => ['description' => 'The service directory in which Hadoop-related configuration files are stored.'."\n", 'type' => 'string', 'example' => 'HadoopDir', 'title' => ''], 'ExternalDataServiceId' => ['description' => 'The Id of external data service', 'type' => 'integer', 'format' => 'int32', 'example' => '123', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BBE00C04-A3E8-4114-881D-0480A72CB92E\\",\\n \\"TotalRecordCount\\": 2,\\n \\"PageNumber\\": 1,\\n \\"Items\\": [\\n {\\n \\"DataSourceId\\": 123,\\n \\"DataSourceName\\": \\"hdfs_pxf\\",\\n \\"DataSourceType\\": \\"hdfs\\",\\n \\"DataSourceDescription\\": \\"test\\",\\n \\"CreateTime\\": \\"2019-09-08T16:00:00Z\\",\\n \\"ModifyTime\\": \\"2019-10-08T16:00:00Z\\",\\n \\"DataSourceStatus\\": \\"Running\\",\\n \\"StatusMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"DataSourceDir\\": \\"HadoopDir\\",\\n \\"ExternalDataServiceId\\": 123\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListExternalDataSources', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListExternalDataSources'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListExternalDataSources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ListIndices' => [ 'summary' => 'Queries a list of indexes.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbIPPRRA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the cluster.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the available region list.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => [ 'description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. The parameter and DBInstanceId cannot both be empty. If both parameters are specified, this value takes precedence.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* ip'."\n" .'* l2'."\n" .'* cosine'."\n", 'type' => 'string', 'required' => false, 'enumValueTitles' => [], 'example' => 'gp-ws-*****', 'enum' => ['ip', 'l2', 'cosine'], 'title' => '', ], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The namespace name.'."\n" ."\n" .'> You can call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => true, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password for the namespace.'."\n" ."\n" .'> The value of this parameter is specified by the [CreateNamespace](~~2401495~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the collection.'."\n" ."\n" .'> You can call the [ListCollections](~~2401503~~) operation to query a list of collections.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testcollection', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **success**.'."\n" .'* **fail**.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Indices' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Indices' => [ 'description' => 'The queried indexes.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Namespace' => ['description' => 'The namespace to which the pod belongs.'."\n", 'type' => 'string', 'example' => 'mynamespace', 'title' => ''], 'Collection' => ['description' => 'The name of the collection.'."\n", 'type' => 'string', 'example' => 'testcollection', 'title' => ''], 'IndexName' => ['description' => 'The name of the index.'."\n", 'type' => 'string', 'example' => 'testindex', 'title' => ''], 'IndexDef' => ['description' => 'The definition of the index.'."\n", 'type' => 'string', 'example' => 'CREATE INDEX testindex ON mynamespace. testcollection', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"Indices\\": {\\n \\"Indices\\": [\\n {\\n \\"Namespace\\": \\"mynamespace\\",\\n \\"Collection\\": \\"testcollection\\",\\n \\"IndexName\\": \\"testindex\\",\\n \\"IndexDef\\": \\"CREATE INDEX testindex ON mynamespace. testcollection\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'ListIndices', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ListIndices', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], ], 'ListInstanceDatabases' => [ 'summary' => 'List all databases in an AnalyticDB for PostgreSQL instance.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '244235', 'abilityTreeNodes' => ['FEATUREgpdbQ0N7UN'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" ."\n" .'* **20**'."\n" .'* **50**'."\n" .'* **100**'."\n" ."\n" .'Default value: **20**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of response.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521'], 'Databases' => [ 'description' => 'The queried databases.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The queried databases.'."\n", 'type' => 'object', 'properties' => [ 'DatabaseName' => ['description' => 'The database name.'."\n" ."\n" .'* Only contain letters, digits, and underscores (\\_).'."\n" .'* Must start with a letter.'."\n" .'* Up to 63 characters in length.'."\n", 'type' => 'string', 'example' => 'testdatabase', 'title' => ''], 'Description' => ['description' => 'The description.'."\n", 'type' => 'string', 'example' => 'test description', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'DBInstanceId' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'example' => 'gp-xxxxxxxxx', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries.'."\n", 'type' => 'string', 'example' => '5', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Databases\\": [\\n {\\n \\"DatabaseName\\": \\"testdatabase\\",\\n \\"Description\\": \\"test description\\"\\n }\\n ],\\n \\"DBInstanceId\\": \\"gp-xxxxxxxxx\\",\\n \\"TotalCount\\": \\"5\\"\\n}","type":"json"}]', 'title' => 'ListInstanceDatabases', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListInstanceDatabases', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'manual', ], 'ListInstanceExtensions' => [ 'summary' => 'Queries a list of extensions.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '214901', 'abilityTreeNodes' => ['FEATUREgpdbQ0N7UN'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. Pages start from page 1. Default value: 1.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" ."\n" .'* **30**'."\n" .'* **50**'."\n" .'* **100**'."\n" ."\n" .'Default value: **30**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'Extension', 'in' => 'query', 'schema' => ['description' => 'The name of the extension.'."\n", 'type' => 'string', 'required' => false, 'example' => 'citext', 'title' => ''], ], [ 'name' => 'InstallStatus', 'in' => 'query', 'schema' => ['description' => 'The installation status of the extension. Valid values:'."\n" ."\n" .'* installed'."\n" .'* installing'."\n" .'* uninstalled'."\n", 'type' => 'string', 'required' => false, 'example' => 'installed', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '7565770E-7C45-462D-BA4A-8A5396F2CAD1', 'title' => ''], 'TotalRecordCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageNumber' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageRecordCount' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], 'Items' => [ 'description' => 'The queried extensions.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The queried extension.'."\n", 'type' => 'object', 'properties' => [ 'ExtensionId' => ['description' => 'The extension ID.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], 'Name' => ['description' => 'The name of the extension.'."\n", 'type' => 'string', 'example' => 'citext', 'title' => ''], 'InstalledDatabases' => ['description' => 'The names of the databases in which the extension is installed.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'CurrentVersion' => ['description' => 'The current version.'."\n", 'type' => 'string', 'example' => '1.0', 'title' => ''], 'LatestVersion' => ['description' => 'The latest version.'."\n", 'type' => 'string', 'example' => '1.1', 'title' => ''], 'Status' => ['description' => 'The status of the extension.'."\n", 'type' => 'string', 'example' => 'installed', 'title' => ''], 'Description' => ['description' => 'The description of the extension.'."\n", 'type' => 'string', 'example' => 'citext usage', 'title' => ''], 'IsInstallNeedRestart' => ['description' => 'Indicates whether an instance restart is required after you install the extension for the extension to take effect.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7565770E-7C45-462D-BA4A-8A5396F2CAD1\\",\\n \\"TotalRecordCount\\": 1,\\n \\"PageNumber\\": 1,\\n \\"PageRecordCount\\": 20,\\n \\"Items\\": [\\n {\\n \\"ExtensionId\\": \\"1\\",\\n \\"Name\\": \\"citext\\",\\n \\"InstalledDatabases\\": \\"test\\",\\n \\"CurrentVersion\\": \\"1.0\\",\\n \\"LatestVersion\\": \\"1.1\\",\\n \\"Status\\": \\"installed\\",\\n \\"Description\\": \\"citext usage\\",\\n \\"IsInstallNeedRestart\\": false\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListInstanceExtensions', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListInstanceExtensions'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListInstanceExtensions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ListModelOperatorApiKeys' => [ 'summary' => 'Retrieves the list of API keys for model operators.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of records per page. Valid values:'."\n" ."\n" .'- **20**'."\n" .'- **50**'."\n" .'- **100**'."\n" ."\n" .'Default value: **20**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. The value must be greater than 0 and cannot exceed the maximum value of Integer. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageRecordCount' => ['description' => 'The number of records on the current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'TotalRecordCount' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'ApiKeys' => [ 'description' => 'The list of API keys.', 'type' => 'array', 'items' => [ 'description' => 'The API key details.', 'type' => 'object', 'properties' => [ 'ApiKeyId' => ['description' => 'API KEY ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'test-apikey', 'title' => ''], 'Endpoint' => ['description' => 'The endpoint.', 'type' => 'string', 'example' => 'https://xxxx', 'title' => ''], 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2026-06-01T00:00:00Z', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Retrieve model operator API key list', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"PageNumber\\": 1,\\n \\"PageRecordCount\\": 1,\\n \\"TotalRecordCount\\": 2,\\n \\"ApiKeys\\": [\\n {\\n \\"ApiKeyId\\": 1,\\n \\"Description\\": \\"test-apikey\\",\\n \\"Endpoint\\": \\"https://xxxx\\",\\n \\"CreateTime\\": \\"2026-06-01T00:00:00Z\\"\\n }\\n ]\\n}","type":"json"}]', ], 'ListModelOperatorServices' => [ 'summary' => 'Retrieves a list of model services.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" .'- **20**'."\n" .'- **50**'."\n" .'- **100**'."\n" ."\n" .'Default value: **20**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageRecordCount' => ['description' => 'The number of entries on the current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'TotalRecordCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'Services' => [ 'description' => 'The list of services.', 'type' => 'array', 'items' => [ 'description' => 'The service details.', 'type' => 'object', 'properties' => [ 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'agdb-xxx', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Retrieve model operator service list', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"PageNumber\\": 1,\\n \\"PageRecordCount\\": 1,\\n \\"TotalRecordCount\\": 2,\\n \\"Services\\": [\\n {\\n \\"ServiceId\\": \\"agdb-xxx\\"\\n }\\n ]\\n}","type":"json"}]', ], 'ListModelServices' => [ 'summary' => 'Queries all model services.', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the cluster.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" ."\n" .'* **20**'."\n" .'* **50**'."\n" .'* **100**'."\n" ."\n" .'Default value: **20**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'PageNumber' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageRecordCount' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'TotalRecordCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'RequestId' => ['description' => 'Request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'ModelServices' => [ 'description' => 'Model services.'."\n", 'type' => 'array', 'items' => [ 'description' => 'Model services.'."\n", 'type' => 'object', 'properties' => [ 'ModelServiceId' => ['description' => 'Model service ID.'."\n", 'type' => 'string', 'example' => 'mx-xxxxxxxxx', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Description' => ['description' => 'The description.'."\n", 'type' => 'string', 'example' => 'test description', 'title' => ''], 'ModelName' => ['description' => 'The model name.'."\n", 'type' => 'string', 'example' => 'sambert-zhiying-v1', 'title' => ''], 'PublicConnUrl' => ['description' => 'Public endpoint.'."\n", 'type' => 'string', 'example' => 'http://ms-xxxxxxx-o.xxxx.rds.aliyuncs.com', 'title' => ''], 'PrivateConnUrl' => ['description' => 'Private Endpoint.'."\n", 'type' => 'string', 'example' => 'http://ms-xxxxxxx.xxxx.rds.aliyuncs.com', 'title' => ''], 'AiNodes' => [ 'description' => 'A list of AI nodes for model deployment.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the AI node.'."\n", 'type' => 'string', 'example' => 'ai-xxxxxxxxx', 'title' => ''], 'title' => '', 'example' => '', ], 'SecurityIPList' => ['description' => 'The IP addresses listed in the whitelist. Up to 1,000 IP addresses are contained in a whitelist and separated by commas (,). The IP addresses must use one of the following formats:'."\n" ."\n" .'* 0.0.0.0/0'."\n" .'* 10.23.12.24(IP)'."\n" .'* 10.23.12.24/24 (This is a CIDR block. The value`/24`indicates the network prefix length, which must be an integer and in the range of `[1,32]`.)'."\n", 'type' => 'string', 'example' => '0.0.0.0/0', 'title' => ''], 'ApiKey' => ['description' => 'The API key.'."\n", 'type' => 'string', 'example' => 'mI3F7B18vgfqJjUtWmgITw==', 'title' => ''], 'CreateTime' => ['description' => 'The creation time.'."\n", 'type' => 'string', 'example' => '2024-09-28T02:18:39Z', 'title' => ''], 'ModelParams' => [ 'description' => 'Model service parameters (not available).'."\n", 'type' => 'object', 'additionalProperties' => ['type' => 'string', 'example' => '暂未开放。', 'description' => 'Not available.'."\n", 'title' => ''], 'example' => 'Not yet available.', 'title' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNumber\\": 1,\\n \\"PageRecordCount\\": 1,\\n \\"TotalRecordCount\\": 2,\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"ModelServices\\": [\\n {\\n \\"ModelServiceId\\": \\"mx-xxxxxxxxx\\",\\n \\"Status\\": \\"success\\",\\n \\"Description\\": \\"test description\\",\\n \\"ModelName\\": \\"sambert-zhiying-v1\\",\\n \\"PublicConnUrl\\": \\"http://ms-xxxxxxx-o.xxxx.rds.aliyuncs.com\\",\\n \\"PrivateConnUrl\\": \\"http://ms-xxxxxxx.xxxx.rds.aliyuncs.com\\",\\n \\"AiNodes\\": [\\n \\"ai-xxxxxxxxx\\"\\n ],\\n \\"SecurityIPList\\": \\"0.0.0.0/0\\",\\n \\"ApiKey\\": \\"mI3F7B18vgfqJjUtWmgITw==\\",\\n \\"CreateTime\\": \\"2024-09-28T02:18:39Z\\",\\n \\"ModelParams\\": {\\n \\"key\\": \\"暂未开放。\\"\\n }\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListModelServices', 'description' => '## [](#)Usage notes'."\n" ."\n" .'This interface is used to view all model service information.'."\n" ."\n" .'## [](#qps-)QPS limit'."\n" ."\n" .'You can call this operation up to 1,000 times per second per account. Exceeding the limit will trigger API rate limiting, which may impact your business. Please call the API responsibly.'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ListModelServices', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ListNamespaces' => [ 'summary' => 'Queries a list of namespaces.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182828', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-bp152460513z****', 'title' => ''], ], [ 'name' => 'ManagerAccount', 'in' => 'query', 'schema' => ['description' => 'The name of the manager account that has the rds_superuser permission.'."\n" ."\n" .'> You can create an account on the Account Management page of the AnalyticDB for PostgreSQL console or by calling the [CreateAccount](~~2361789~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testaccount', 'title' => ''], ], [ 'name' => 'ManagerAccountPassword', 'in' => 'query', 'schema' => ['description' => 'The password of the manager account.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. You must specify one of the WorkspaceId and DBInstanceId parameters. If you specify both parameters, the WorkspaceId parameter takes effect.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Count' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Namespaces' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Namespace' => [ 'description' => 'The queried namespaces.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'example' => '["mynamespace"]', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'RegionId' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'DBInstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'gp-bp152460513z****', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Count\\": 1,\\n \\"Namespaces\\": {\\n \\"Namespace\\": [\\n \\"[\\\\\\"mynamespace\\\\\\"]\\"\\n ]\\n },\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"DBInstanceId\\": \\"gp-bp152460513z****\\",\\n \\"Message\\": \\"Successful\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'ListNamespaces', 'changeSet' => [ ['createdAt' => '2024-08-04T13:55:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-11-07T11:35:36.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListNamespaces'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:ListNamespaces', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Namespace', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:namespace/{#DBInstanceId}'], ], ], ], ], ], 'ListRemoteADBDataSources' => [ 'summary' => 'Queries remote AnalyticDB data sources.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbOGW4DR', 'FEATUREgpdbYL5VZY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance name.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxx', 'title' => ''], ], [ 'name' => 'DataSourceId', 'in' => 'query', 'schema' => ['description' => 'Data source ID.', 'type' => 'string', 'required' => false, 'example' => '119', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'e9d60eb1-e90d-4bc6-a470-c8b767460858', 'title' => ''], 'TaskId' => ['description' => 'Task ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '90000', 'title' => ''], 'DataSourceItems' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'RemoteDataSources' => [ 'description' => 'Returns the successfully added data sharing service data.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Id' => ['description' => 'ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'DataSourceName' => ['description' => 'Data source name', 'type' => 'string', 'example' => 'db1_gptest1_to_db2_gp-test2', 'title' => ''], 'LocalInstanceName' => ['description' => 'Local instance name', 'type' => 'string', 'example' => 'gp-test1', 'title' => ''], 'LocalDatabase' => ['description' => 'Local database name', 'type' => 'string', 'example' => 'db1', 'title' => ''], 'RemoteInstanceName' => ['description' => 'Remote instance name', 'type' => 'string', 'example' => 'gp-test2', 'title' => ''], 'RemoteDatabase' => ['description' => 'Remote database name', 'type' => 'string', 'example' => 'db2', 'title' => ''], 'UserName' => ['description' => 'User name', 'type' => 'string', 'example' => 'user1', 'title' => ''], 'ManagerUserName' => ['description' => 'Manager user name', 'type' => 'string', 'example' => 'admin', 'title' => ''], 'Status' => ['description' => 'Data source status', 'type' => 'string', 'example' => 'creating', 'title' => ''], 'Description' => ['description' => 'Description.', 'type' => 'string', 'example' => 'test', 'title' => ''], 'RegionId' => ['description' => 'Region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) API to view available region IDs.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"e9d60eb1-e90d-4bc6-a470-c8b767460858\\",\\n \\"TaskId\\": 90000,\\n \\"DataSourceItems\\": {\\n \\"RemoteDataSources\\": [\\n {\\n \\"Id\\": 1,\\n \\"DataSourceName\\": \\"db1_gptest1_to_db2_gp-test2\\",\\n \\"LocalInstanceName\\": \\"gp-test1\\",\\n \\"LocalDatabase\\": \\"db1\\",\\n \\"RemoteInstanceName\\": \\"gp-test2\\",\\n \\"RemoteDatabase\\": \\"db2\\",\\n \\"UserName\\": \\"user1\\",\\n \\"ManagerUserName\\": \\"admin\\",\\n \\"Status\\": \\"creating\\",\\n \\"Description\\": \\"test\\",\\n \\"RegionId\\": \\"cn-beijing\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'ListRemoteADBDataSources', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRemoteADBDataSources'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListRemoteADBDataSources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'ListSaasService' => [ 'summary' => 'Queries the list of SaaS services.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the workspace.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'ws-*****', 'title' => ''], ], [ 'name' => 'ServiceType', 'in' => 'query', 'schema' => ['description' => 'Service type, with the following value:'."\n" ."\n" .'- **memroy**'."\n" .'- **drama**', 'type' => 'string', 'required' => true, 'example' => 'drama', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => 'The maximum number of entries to return. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The token for the next query when paging. Use this token to start the next query.', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'TotalRecordCount' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '34b32a0a-08ef-4a87-b6be-cdd9f56fc3ad'], 'Items' => [ 'description' => 'The list of instance details.', 'type' => 'array', 'items' => [ 'description' => 'The list of instance details.', 'type' => 'object', 'properties' => [ 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'agdb-xxxx', 'title' => ''], 'ServiceName' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'agdb-xxxx', 'title' => ''], 'ServiceType' => ['description' => 'The service type. Valid values:'."\n" ."\n" .'- **memory**'."\n" .'- **drama**', 'type' => 'string', 'example' => 'memory', 'title' => ''], 'Status' => ['description' => 'The service status. Valid values:'."\n" ."\n" .'- active: Running.'."\n" .'- creating: Being created.', 'type' => 'string', 'example' => 'active', 'title' => ''], 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2021-10-09T04:54:08Z', 'title' => ''], 'Cu' => ['description' => 'The compute resource.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PayType' => ['description' => 'The billing type. Valid values:'."\n" ."\n" .'- **POSTPAY**: Pay-as-you-go.'."\n" .'- **PREPAY**: Subscription.', 'type' => 'string', 'example' => 'POSTPAY', 'title' => ''], 'ExpireTime' => ['description' => 'The expiration time.', 'type' => 'string', 'example' => '2021-10-15T16:00:00Z', 'title' => ''], 'Plan' => ['description' => '[Deprecated]', 'type' => 'string', 'title' => '', 'example' => 'deprecated'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'NextToken' => ['description' => 'The pagination token for the next query.', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', 'title' => ''], 'MaxResults' => ['description' => 'The maximum number of entries to return. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Query saaS service list', 'description' => '## Operation description'."\n" .'This operation is used to query information about all SaaS services.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListSaasService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalRecordCount\\": 2,\\n \\"RequestId\\": \\"34b32a0a-08ef-4a87-b6be-cdd9f56fc3ad\\",\\n \\"Items\\": [\\n {\\n \\"ServiceId\\": \\"agdb-xxxx\\",\\n \\"ServiceName\\": \\"agdb-xxxx\\",\\n \\"ServiceType\\": \\"memory\\",\\n \\"Status\\": \\"active\\",\\n \\"CreateTime\\": \\"2021-10-09T04:54:08Z\\",\\n \\"Cu\\": 1,\\n \\"PayType\\": \\"POSTPAY\\",\\n \\"ExpireTime\\": \\"2021-10-15T16:00:00Z\\",\\n \\"Plan\\": \\"deprecated\\"\\n }\\n ],\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\",\\n \\"MaxResults\\": 50\\n}","type":"json"}]', 'translator' => 'machine', ], 'ListSchemas' => [ 'summary' => 'Queries a list of schemas.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '225537', 'abilityTreeNodes' => ['FEATUREgpdb95T353'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'SecretArn', 'in' => 'query', 'schema' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the access credential for the created Data API account. You can call the CreateSecret operation to create an access credential.'."\n" ."\n" .'> To call the ListSchemas operation as a Resource Access Management (RAM) user, the RAM user must have the permissions to call the UseSecret or GetSecretValue operation on the ARN of the access credential.'."\n", 'type' => 'string', 'required' => true, 'example' => 'acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'adbtest', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => 'The maximum number of entries per page. Valid values: 1 to 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', 'title' => ''], ], [ 'name' => 'SchemaPattern', 'in' => 'query', 'schema' => ['description' => 'The schema name pattern for matching. For example, `ab%` specifies to match schema names that start with ab.'."\n", 'type' => 'string', 'required' => false, 'example' => 'aaa%', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'NextToken' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n", 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', 'title' => ''], 'Schemas' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Schemas' => [ 'description' => 'The queried schemas.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the queried schema.'."\n", 'type' => 'string', 'example' => 'public', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\",\\n \\"Schemas\\": {\\n \\"Schemas\\": [\\n \\"public\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => 'ListSchemas', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSchemas'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListSchemas', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListSecrets' => [ 'summary' => 'View the access credential list.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '225492', 'abilityTreeNodes' => ['FEATUREgpdb95T353'], 'autoTest' => false, 'notSupportAutoTestReason' => '鉴权对象不作为入参,因此鉴权对象不存在情形,无法实现RAM标准错误信息透出,故不支持自动化测试', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace composed of multiple database instances. This parameter and the DBInstanceId parameter cannot both be empty. If both are specified, this parameter takes precedence. ', 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Count' => ['description' => 'The number of access credentials.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '4', 'title' => ''], 'Secrets' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Secrets' => [ 'description' => 'The queried access credentials.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The information about the access credential.'."\n", 'type' => 'object', 'properties' => [ 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account.'."\n", 'type' => 'string', 'example' => '1033***', 'title' => ''], 'RegionId' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], 'DBInstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'gp-bp14****', 'title' => ''], 'SecretName' => ['description' => 'The name of the access credential.'."\n", 'type' => 'string', 'example' => 'testsecret', 'title' => ''], 'SecretArn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the access credential for the created Data API account. Format: `acs:gpdb:{{region}}:{{accountId}}:secret/{{secretName}}-{{32 digits random string}`.'."\n", 'type' => 'string', 'example' => 'acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ', 'title' => ''], 'Description' => ['description' => 'The description of the access credential.'."\n", 'type' => 'string', 'example' => 'test description', 'title' => ''], 'Username' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'example' => 'testacc', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"Successful\\",\\n \\"Status\\": \\"success\\",\\n \\"Count\\": 4,\\n \\"Secrets\\": {\\n \\"Secrets\\": [\\n {\\n \\"AccountId\\": \\"1033***\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"DBInstanceId\\": \\"gp-bp14****\\",\\n \\"SecretName\\": \\"testsecret\\",\\n \\"SecretArn\\": \\"acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ\\",\\n \\"Description\\": \\"test description\\",\\n \\"Username\\": \\"testacc\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'View the access credential list ', 'changeSet' => [ ['createdAt' => '2025-03-11T17:01:34.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSecrets'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListSecrets', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'ListSlowSQLRecords' => [ 'summary' => 'Queries slow SQL queries.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'DBName', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testdb01', 'title' => ''], ], [ 'name' => 'UserName', 'in' => 'query', 'schema' => ['description' => 'The account name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_user', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The beginning of the time range to query. The time must be in UTC and formatted as yyyy-MM-ddTHH:mmZ.'."\n" ."\n" .'Defaults to the current time minus 5 minutes.'."\n", 'type' => 'string', 'required' => false, 'example' => '2024-12-04T16:00:00Z', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end of the time range to query. The time must be in UTC and formatted as *yyyy-MM-dd*T*HH:mm*Z. The time must be in UTC. The end time must be later than the start time.'."\n" ."\n" .'Defaults to the current time.'."\n", 'type' => 'string', 'required' => false, 'example' => '2024-12-04T17:00:00Z', 'title' => ''], ], [ 'name' => 'Keyword', 'in' => 'query', 'schema' => ['description' => 'The search keyword.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SELECT', 'title' => ''], ], [ 'name' => 'MinDuration', 'in' => 'query', 'schema' => ['description' => 'The minimum execution duration. Unit: seconds.'."\n", 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], [ 'name' => 'MaxDuration', 'in' => 'query', 'schema' => ['description' => 'The longest execution duration. Unit: seconds.'."\n", 'type' => 'string', 'required' => false, 'example' => '600', 'title' => ''], ], [ 'name' => 'OrderBy', 'in' => 'query', 'schema' => ['description' => 'Sort criteria (JSON string). {"Field":"QueryStartTime","Type":"Desc"}'."\n" ."\n" .'Field: Specifies the field to sort by.'."\n" ."\n" .'* QueryID: Query ID.'."\n" .'* UserName: The username.'."\n" .'* DBName: The name of the database.'."\n" .'* QueryStartTime: The start time.'."\n" .'* QueryEndTime: The end time.'."\n" .'* DurationTime: The execution duration of the query.'."\n" .'* Optimizer.'."\n" .'* LockWaitTime: The lock waiting time.'."\n" .'* QueueWaitTime: Time in Queue.'."\n" .'* CpuTimeMs: CPU time.'."\n" .'* MemBytes: The memory usage.'."\n" .'* SpillBytes: Spill File Size.'."\n" ."\n" .'Type: Sort order.'."\n" ."\n" .'* Desc: descending.'."\n" .'* Asc: ascending.'."\n", 'type' => 'string', 'required' => false, 'example' => '{"Field":"QueryStartTime","Type":"Desc"}', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" ."\n" .'* **30**'."\n" .'* **50**'."\n" .'* **100**'."\n" ."\n" .'Default value: **30**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The number of the page to return. The value must be a positive integer in the range \\[1, 100]. Default value: 1.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'TotalRecordCount' => ['description' => 'The total number of log entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'PageNumber' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageRecordCount' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'Items' => [ 'description' => 'List of slow queries.'."\n", 'type' => 'array', 'items' => [ 'description' => 'List of slow queries.'."\n", 'type' => 'object', 'properties' => [ 'QueryID' => ['description' => 'The query ID. It is a unique identifier of the query.'."\n", 'type' => 'string', 'example' => '7775338456746339025', 'title' => ''], 'UserName' => ['description' => 'The account that initiates the query.'."\n", 'type' => 'string', 'example' => 'test_user', 'title' => ''], 'DBName' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'example' => 'adbpgadmin', 'title' => ''], 'SqlText' => ['description' => 'SQL statements in audit logs.'."\n", 'type' => 'string', 'example' => 'SHOW COLUMNS FROM `t_project`', 'title' => ''], 'QueryStartTime' => ['description' => 'The start time of the query.'."\n", 'type' => 'string', 'example' => '2024-12-04T17:00:00Z', 'title' => ''], 'QueryEndTime' => ['description' => 'The end time of the query.'."\n", 'type' => 'string', 'example' => '2024-12-04T18:00:00Z', 'title' => ''], 'DurationTime' => ['description' => 'Total execution time in milliseconds.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2000', 'title' => ''], 'SqlTruncatedThreshold' => ['description' => 'The threshold that is used to truncate the SQL statement.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], 'SqlTruncated' => ['description' => 'Indicates whether the SQL statement is truncated. Valid values:'."\n" ."\n" .'* true: Truncated.'."\n" .'* false: Not truncated.'."\n", 'type' => 'string', 'example' => 'false', 'title' => ''], 'Optimizer' => ['description' => 'Execution optimizer.'."\n", 'type' => 'string', 'example' => 'planner', 'title' => ''], 'LockWaitTime' => ['description' => 'The total lock wait time (in milliseconds).'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1000', 'title' => ''], 'QueueWaitTime' => ['description' => 'The query queueing time (in milliseconds) in resource groups/queues.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1000', 'title' => ''], 'CpuTimeMs' => ['description' => 'The total CPU time (in milliseconds) consumed by the query execution.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], 'MemBytes' => ['description' => 'The total memory (in bytes) occupied by the query execution.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], 'SpillBytes' => ['description' => 'The total size (in bytes) of the files generated by the query.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"TotalRecordCount\\": 2,\\n \\"PageNumber\\": 1,\\n \\"PageRecordCount\\": 2,\\n \\"Items\\": [\\n {\\n \\"QueryID\\": \\"7775338456746339025\\",\\n \\"UserName\\": \\"test_user\\",\\n \\"DBName\\": \\"adbpgadmin\\",\\n \\"SqlText\\": \\"SHOW COLUMNS FROM `t_project`\\",\\n \\"QueryStartTime\\": \\"2024-12-04T17:00:00Z\\",\\n \\"QueryEndTime\\": \\"2024-12-04T18:00:00Z\\",\\n \\"DurationTime\\": 2000,\\n \\"SqlTruncatedThreshold\\": 100,\\n \\"SqlTruncated\\": \\"false\\",\\n \\"Optimizer\\": \\"planner\\",\\n \\"LockWaitTime\\": 1000,\\n \\"QueueWaitTime\\": 1000,\\n \\"CpuTimeMs\\": 1000,\\n \\"MemBytes\\": 1000,\\n \\"SpillBytes\\": 1000\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListSlowSQLRecords', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ListSlowSQLRecords', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ListStreamingDataServices' => [ 'summary' => 'Create External Data Source Configuration', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '198700', 'abilityTreeNodes' => ['FEATUREgpdbGXMEN1', 'FEATUREgpdbO4XFZ3'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-bp10g78o9807yv9h3', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'Page number, greater than 0 and not exceeding the maximum value of Integer, default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'Number of records per page, with the following values:'."\n" .'- 30 (default)'."\n" .'- 50'."\n" .'- 100', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'ServiceItems' => [ 'description' => 'Returns real-time data service items', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ServiceId' => ['description' => 'Service ID.', 'type' => 'string', 'example' => '1', 'title' => ''], 'ServiceType' => ['description' => 'Service type, with the following value:'."\n" ."\n" .'- **adbpgss**', 'type' => 'string', 'example' => 'adbpgss', 'title' => ''], 'ServiceName' => ['description' => 'Service name.', 'type' => 'string', 'example' => 'test-adbpgss', 'title' => ''], 'ServiceDescription' => ['description' => 'Service description.', 'type' => 'string', 'example' => 'test-adbpgss', 'title' => ''], 'ServiceSpec' => ['description' => 'Service specification (in CU).', 'type' => 'string', 'example' => '8', 'title' => ''], 'Status' => ['description' => 'Service status, with the following values:'."\n" ."\n" .'- Init: Initializing'."\n" ."\n" .'- Running: In operation'."\n" ."\n" .'- Exception: Abnormal'."\n" ."\n" .'- Paused: Suspended', 'type' => 'string', 'example' => 'Running', 'title' => ''], 'ServiceIp' => ['description' => 'Service IP.', 'type' => 'string', 'example' => '192.168.0.1', 'title' => ''], 'ServicePort' => ['description' => 'Service port.', 'type' => 'string', 'example' => '5432', 'title' => ''], 'CreateTime' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2019-09-08T16:00:00Z', 'title' => ''], 'ModifyTime' => ['description' => 'Last modified time', 'type' => 'string', 'example' => '2019-09-08T17:00:00Z', 'title' => ''], 'ServiceManaged' => ['description' => 'Whether it is a managed service.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'ServiceOwnerId' => ['description' => 'Service owner ID.', 'type' => 'string', 'example' => '123', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'TotalRecordCount' => ['description' => 'Total record count.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"ServiceItems\\": [\\n {\\n \\"ServiceId\\": \\"1\\",\\n \\"ServiceType\\": \\"adbpgss\\",\\n \\"ServiceName\\": \\"test-adbpgss\\",\\n \\"ServiceDescription\\": \\"test-adbpgss\\",\\n \\"ServiceSpec\\": \\"8\\",\\n \\"Status\\": \\"Running\\",\\n \\"ServiceIp\\": \\"192.168.0.1\\",\\n \\"ServicePort\\": \\"5432\\",\\n \\"CreateTime\\": \\"2019-09-08T16:00:00Z\\",\\n \\"ModifyTime\\": \\"2019-09-08T17:00:00Z\\",\\n \\"ServiceManaged\\": true,\\n \\"ServiceOwnerId\\": \\"123\\"\\n }\\n ],\\n \\"TotalRecordCount\\": 1\\n}","type":"json"}]', 'title' => 'ListStreamingDataServices', 'changeSet' => [ ['createdAt' => '2024-06-27T13:47:40.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListStreamingDataServices'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:ListStreamingDataServices', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'ListStreamingDataSources' => [ 'summary' => 'Queries a list of real-time service data sources.', 'methods' => ['post', 'get', 'put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbGXMEN1', 'FEATUREgpdbO4XFZ3'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gp-bp10g78o9807yv9h3', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" ."\n" .'* **30**'."\n" .'* **50**'."\n" .'* **100**'."\n" ."\n" .'Default value: **30**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number. Pages start from page 1. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'TotalRecordCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'PageNumber' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'DataSourceItems' => [ 'description' => 'The queried data sources.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'DataSourceId' => ['description' => 'The data source ID.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'DataSourceName' => ['description' => 'The name of the data source.'."\n", 'type' => 'string', 'example' => 'test-kafka', 'title' => ''], 'DataSourceType' => ['description' => 'The type of the data source. Valid values:'."\n" ."\n" .'* kafka'."\n", 'type' => 'string', 'example' => 'kafka', 'title' => ''], 'DataSourceConfig' => ['description' => 'The configurations of the data source.'."\n", 'type' => 'string', 'example' => '{"brokers":"broker0:9091,broker1:9091","topic":"topic"}', 'title' => ''], 'DataSourceDescription' => ['description' => 'The description of the data source.'."\n", 'type' => 'string', 'example' => 'test-kafka', 'title' => ''], 'CreateTime' => ['description' => 'The time when the data source was created.'."\n", 'type' => 'string', 'example' => '2019-09-08T16:00:00Z', 'title' => ''], 'ModifyTime' => ['description' => 'The time when the data source was last modified.'."\n", 'type' => 'string', 'example' => '2019-09-08T17:00:00Z', 'title' => ''], 'Status' => ['description' => 'The status of the service. Valid values:'."\n" ."\n" .'* init'."\n" .'* running'."\n" .'* exception'."\n", 'type' => 'string', 'example' => 'running', 'title' => ''], 'ServiceId' => ['description' => 'The service ID.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'ErrorMessage' => ['description' => 'The information about the service status. For example, if the service is in the exception state, the cause of the exception is displayed. If the service is in the running state, this parameter is left empty.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"TotalRecordCount\\": 2,\\n \\"PageNumber\\": 1,\\n \\"DataSourceItems\\": [\\n {\\n \\"DataSourceId\\": 1,\\n \\"DataSourceName\\": \\"test-kafka\\",\\n \\"DataSourceType\\": \\"kafka\\",\\n \\"DataSourceConfig\\": \\"{\\\\\\"brokers\\\\\\":\\\\\\"broker0:9091,broker1:9091\\\\\\",\\\\\\"topic\\\\\\":\\\\\\"topic\\\\\\"}\\",\\n \\"DataSourceDescription\\": \\"test-kafka\\",\\n \\"CreateTime\\": \\"2019-09-08T16:00:00Z\\",\\n \\"ModifyTime\\": \\"2019-09-08T17:00:00Z\\",\\n \\"Status\\": \\"running\\",\\n \\"ServiceId\\": 1,\\n \\"ErrorMessage\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListStreamingDataSources', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListStreamingDataSources'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListStreamingDataSources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ListStreamingJobs' => [ 'summary' => 'Queries real-time data synchronization jobs.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbGXMEN1', 'FEATUREgpdbO4XFZ3'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-bp10g78o9807yv9h3', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'Number of records per page, with the following options:'."\n" .'- **30** - **50** - **100**'."\n" .'Default value: 30.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => 'kafka', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'Page number, greater than 0 and not exceeding the maximum value of Integer. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'PageNumber' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageRecordCount' => ['description' => 'Number of records per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'TotalRecordCount' => ['description' => 'Total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'JobItems' => [ 'description' => 'The queried jobs.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'JobId' => ['description' => 'The job ID.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], 'JobName' => ['description' => 'The name of the job.'."\n", 'type' => 'string', 'example' => 'test-job', 'title' => ''], 'DataSourceId' => ['description' => 'The data source ID.'."\n", 'type' => 'string', 'example' => '58', 'title' => ''], 'JobDescription' => ['description' => 'The description of the job.'."\n", 'type' => 'string', 'example' => 'test job', 'title' => ''], 'SrcColumns' => [ 'description' => 'The source fields.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the source field.'."\n", 'type' => 'string', 'example' => 'src_column_1', 'title' => ''], 'title' => '', 'example' => '', ], 'DestColumns' => [ 'description' => 'The mapped fields in the destination table.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the mapped field in the destination table.'."\n", 'type' => 'string', 'example' => 'dest_column_1', 'title' => ''], 'title' => '', 'example' => '', ], 'MatchColumns' => [ 'description' => 'The update condition columns that are used to join the source data and the destination table. Typically, the columns are all the primary key columns of the destination table. If the values of all columns specified by this parameter in different rows are the same, the rows are considered duplicates.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the update condition column.'."\n", 'type' => 'string', 'example' => 'column_1', 'title' => ''], 'title' => '', 'example' => '', ], 'UpdateColumns' => [ 'description' => 'The columns to be updated if a row of data meets the update condition. Typically, the columns are all non-primary key columns of the destination table. When the columns specified by the MatchColumns parameter are used as conditions to join the source data and the destination table, data in columns of the UpdateColumns type is updated if data is matched.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the column to be updated.'."\n", 'type' => 'string', 'example' => 'column_1', 'title' => ''], 'title' => '', 'example' => '', ], 'Account' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'example' => 'test-account', 'title' => ''], 'Password' => ['description' => 'The password of the database account.'."\n", 'type' => 'string', 'example' => 'pwd123', 'title' => ''], 'DestDatabase' => ['description' => 'The name of the destination database.'."\n", 'type' => 'string', 'example' => 'dest-db', 'title' => ''], 'DestSchema' => ['description' => 'The name of the destination namespace.'."\n", 'type' => 'string', 'example' => 'dest-schema', 'title' => ''], 'DestTable' => ['description' => 'The name of the destination table.'."\n", 'type' => 'string', 'example' => 'dest-table', 'title' => ''], 'WriteMode' => ['description' => 'The write mode.'."\n", 'type' => 'string', 'example' => 'INSERT/UPDATE/MERGE', 'title' => ''], 'Mode' => ['description' => 'The configuration mode. Valid values:'."\n" ."\n" .'1. basic: In basic mode, you must configure the configuration parameters.'."\n" .'2. professional: In professional mode, you can submit a YAML configuration file.'."\n", 'type' => 'string', 'example' => 'basic / professional', 'title' => ''], 'ErrorMessage' => ['description' => 'The error message returned.'."\n" ."\n" .'This parameter is returned only when the return value of **Status** is **false**.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], 'Status' => ['description' => 'The status of the job. Valid values:'."\n" ."\n" .'* Init'."\n" .'* Running'."\n" .'* Exception'."\n" .'* Paused'."\n", 'type' => 'string', 'example' => 'Running', 'title' => ''], 'CreateTime' => ['description' => 'The time when the job was created.'."\n", 'type' => 'string', 'example' => '2019-09-08T16:00:00Z', 'title' => ''], 'ModifyTime' => ['description' => 'The time when the job was last modified.'."\n", 'type' => 'string', 'example' => '2019-09-08T17:00:00Z', 'title' => ''], 'FallbackOffset' => ['description' => 'The fallback offset for data consumption.'."\n" ."\n" .'* This parameter indicates the starting offset from which data consumption resumes when a consumer does not request a consumption offset or requests a consumption offset that is beyond the range of the offset information recorded in the current Kafka cluster. Valid values: EARLIEST and LATEST.'."\n", 'type' => 'string', 'example' => 'EARLIEST / LATEST', 'title' => ''], 'Consistency' => ['description' => 'The delivery guarantee setting.'."\n", 'type' => 'string', 'example' => 'ATLEAST / EXACTLY', 'title' => ''], 'DataSourceName' => ['description' => 'The name of the data source.'."\n", 'type' => 'string', 'example' => 'test-kafka', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"PageNumber\\": 1,\\n \\"PageRecordCount\\": 2,\\n \\"TotalRecordCount\\": 2,\\n \\"JobItems\\": [\\n {\\n \\"JobId\\": \\"1\\",\\n \\"JobName\\": \\"test-job\\",\\n \\"DataSourceId\\": \\"58\\",\\n \\"JobDescription\\": \\"test job\\",\\n \\"SrcColumns\\": [\\n \\"src_column_1\\"\\n ],\\n \\"DestColumns\\": [\\n \\"dest_column_1\\"\\n ],\\n \\"MatchColumns\\": [\\n \\"column_1\\"\\n ],\\n \\"UpdateColumns\\": [\\n \\"column_1\\"\\n ],\\n \\"Account\\": \\"test-account\\",\\n \\"Password\\": \\"pwd123\\",\\n \\"DestDatabase\\": \\"dest-db\\",\\n \\"DestSchema\\": \\"dest-schema\\",\\n \\"DestTable\\": \\"dest-table\\",\\n \\"WriteMode\\": \\"INSERT/UPDATE/MERGE\\",\\n \\"Mode\\": \\"basic / professional\\",\\n \\"ErrorMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Status\\": \\"Running\\",\\n \\"CreateTime\\": \\"2019-09-08T16:00:00Z\\",\\n \\"ModifyTime\\": \\"2019-09-08T17:00:00Z\\",\\n \\"FallbackOffset\\": \\"EARLIEST / LATEST\\",\\n \\"Consistency\\": \\"ATLEAST / EXACTLY\\",\\n \\"DataSourceName\\": \\"test-kafka\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListStreamingJobs', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListStreamingJobs'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:ListStreamingJobs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'ListSupabaseProjectTags' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNTP4BF'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['description' => 'The resource type. Set the value to instance.', 'type' => 'string', 'required' => false, 'example' => 'instance', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The token for the next query.', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', 'title' => ''], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The instance ID.'."\n" .'> You must specify at least one of ResourceId and Tag.', 'type' => 'array', 'items' => ['description' => 'The instance ID.'."\n" .'> You must specify at least one of ResourceId and Tag.', 'type' => 'string', 'required' => false, 'example' => 'spb-j6cdjo680513l****', 'title' => ''], 'required' => false, 'maxItems' => 100, 'title' => '', 'example' => '', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The list of tags.'."\n" .'> You must specify at least one of ResourceId and Tag.', 'type' => 'array', 'items' => [ 'description' => 'The list of tags.'."\n" .'> You must specify at least one of ResourceId and Tag.', 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The tag key. The tag key must be 1 to 64 characters in length.'."\n" ."\n" .'Tag.N is used to exactly match Supabase instances that have the specified tags bound. A tag is a key-value pair.'."\n" ."\n" .'Valid values of N: 1 to 20.'."\n" ."\n" .'- If you specify only Tag.N.Key, all instances associated with the specified tag key are returned.'."\n" .'- If you specify only Tag.N.Value, the error message `InvalidParameter.TagValue` is returned.'."\n" .'- If you specify multiple tag key-value pairs at the same time, only instances that match all the specified tag key-value pairs are returned.', 'type' => 'string', 'required' => false, 'example' => 'test-key', 'title' => ''], 'Value' => ['description' => 'The tag value. The tag value must be 1 to 128 characters in length.'."\n" ."\n" .'Valid values of N: 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'maxItems' => 100, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '34b32a0a-08ef-4a87-b6be-cdd9f56fc3ad'], 'NextToken' => ['description' => 'The token for the next query.', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', 'title' => ''], 'TagResources' => [ 'description' => 'The details.', 'type' => 'array', 'items' => [ 'description' => 'The details.', 'type' => 'object', 'properties' => [ 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'instance', 'title' => ''], 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'TestValue', 'title' => ''], 'ResourceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'spb-xxxxxxxxxx', 'title' => ''], 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'TestKey', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Query supabase project tags', 'summary' => 'Queries the tags of a Supabase instance.', 'description' => '- This operation queries the tag list of Supabase instances.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ListSupabaseProjectTags', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"34b32a0a-08ef-4a87-b6be-cdd9f56fc3ad\\",\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceType\\": \\"instance\\",\\n \\"TagValue\\": \\"TestValue\\",\\n \\"ResourceId\\": \\"spb-xxxxxxxxxx\\",\\n \\"TagKey\\": \\"TestKey\\"\\n }\\n ]\\n}","type":"json"}]', 'translator' => 'machine', ], 'ListSupabaseProjects' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The ID of the region.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the available regions.', 'type' => 'string', 'example' => 'cn-hangzhou', 'required' => false, 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The pagination token to retrieve the next page of results.', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a****', 'required' => false, 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => 'The maximum number of entries to return. The default value is 10.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'required' => false, 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'required' => false, 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'required' => false, 'title' => ''], ], [ 'name' => 'SearchField', 'in' => 'query', 'schema' => ['type' => 'string', 'example' => 'ProjectId', 'description' => '', 'required' => false, 'title' => ''], ], [ 'name' => 'SearchValue', 'in' => 'query', 'schema' => ['type' => 'string', 'example' => 'gp-bp***************', 'description' => '', 'required' => false, 'title' => ''], ], [ 'name' => 'SortField', 'in' => 'query', 'schema' => ['type' => 'string', 'example' => 'UpdatedDate', 'description' => '', 'required' => false, 'title' => ''], ], [ 'name' => 'SortOrder', 'in' => 'query', 'schema' => ['type' => 'string', 'example' => 'desc', 'description' => '', 'required' => false, 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D****', 'title' => ''], 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageRecordCount' => ['description' => 'The number of entries on the current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], 'TotalRecordCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'Items' => [ 'description' => 'A list of instance details.', 'type' => 'array', 'items' => [ 'description' => 'Details of the instance.', 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The status of the instance.', 'type' => 'string', 'example' => 'running', 'title' => ''], 'PublicConnectUrl' => ['description' => 'The public endpoint for the Supabase dashboard.', 'type' => 'string', 'example' => '10.154.11.10', 'title' => ''], 'EngineVersion' => ['description' => 'The engine version.', 'type' => 'string', 'example' => '6.0', 'title' => ''], 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-h', 'title' => ''], 'ProjectName' => ['description' => 'The name of the Supabase project.', 'type' => 'string', 'example' => 'supabase_project', 'title' => ''], 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-bp1cpq8mr64paltkb****', 'title' => ''], 'ProjectId' => ['description' => 'The ID of the Supabase instance.', 'type' => 'string', 'example' => 'sbp-12***', 'title' => ''], 'DiskPerformanceLevel' => ['description' => 'The disk performance level.', 'type' => 'string', 'example' => 'PL0', 'title' => ''], 'StorageSize' => ['description' => 'The storage size in GB.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], 'PayType' => ['description' => 'The billing method. Valid values:'."\n" ."\n" .'- **Postpaid**: pay-as-you-go.'."\n" ."\n" .'- **Prepaid**: subscription.'."\n" ."\n" .'- **Free**: The instance is free of charge.', 'type' => 'string', 'example' => 'Postpaid', 'title' => ''], 'PrivateConnectUrl' => ['description' => 'The private endpoint for the Supabase dashboard.', 'type' => 'string', 'example' => '192.168.0.1', 'title' => ''], 'ProjectSpec' => ['description' => 'The Supabase instance specification.', 'type' => 'string', 'example' => '1C1G', 'title' => ''], 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'example' => 'vpc-bp19ame5m1r3oejns****', 'title' => ''], 'SecurityIPList' => ['description' => 'The IP whitelist. IP addresses are separated by commas. The following formats are supported:'."\n" ."\n" .'- 0.0.0.0/0'."\n" ."\n" .'- 10.23.12.24 (IP)'."\n" ."\n" .'- 10.23.12.24/24 (a Classless Inter-Domain Routing (CIDR) block; the prefix length, which is the number after the `/`, must be an integer from 1 to 32.)', 'type' => 'string', 'example' => '127.0.0.1', 'title' => ''], 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'Engine' => ['description' => 'The database engine.', 'type' => 'string', 'example' => 'gpdb', 'title' => ''], 'CreateTime' => ['description' => 'The time when the resource was created.', 'type' => 'string', 'example' => '2021-10-09T04:54:08Z', 'title' => ''], 'DashboardPassword' => ['description' => 'The password for the Supabase dashboard. This parameter is reserved.', 'type' => 'string', 'example' => 'xxpassword', 'title' => ''], 'DashboardUserName' => ['description' => 'The username for the Supabase dashboard. This parameter is reserved.', 'type' => 'string', 'example' => 'null', 'title' => ''], 'ExpireTime' => ['description' => 'The expiration time.', 'type' => 'string', 'example' => '2026-04-27T16:00:00Z', 'title' => ''], 'AutoScale' => [ 'description' => 'Indicates if the **auto start and stop** feature is enabled.'."\n" .'Valid values:'."\n" ."\n" .'- `true`: The feature is enabled. The Supabase instance automatically pauses and resumes based on traffic.'."\n" ."\n" .'- `false`: The auto start and stop feature is disabled.', 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], 'type' => 'string', 'example' => 'false', 'title' => '', ], 'ProjectDescription' => [ 'description' => 'The detailed description of the Supabase project.', 'type' => 'string', 'enumValueTitles' => [], 'example' => 'for-test-project', 'title' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'NextToken' => ['description' => 'A pagination token for retrieving the next page of results. If this parameter is not returned, it indicates that all results have been displayed.', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a****', 'title' => ''], 'MaxResults' => ['description' => 'The maximum number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ListSupabaseProjects', 'summary' => 'Returns a list of Supabase instances.', 'description' => '- Lists Supabase instances.', 'changeSet' => [ ['createdAt' => '2025-12-04T13:12:30.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListSupabaseProjects', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D****\\",\\n \\"PageNumber\\": 1,\\n \\"PageRecordCount\\": 20,\\n \\"TotalRecordCount\\": 2,\\n \\"Items\\": [\\n {\\n \\"Status\\": \\"running\\",\\n \\"PublicConnectUrl\\": \\"10.154.11.10\\",\\n \\"EngineVersion\\": \\"6.0\\",\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"ProjectName\\": \\"supabase_project\\",\\n \\"VSwitchId\\": \\"vsw-bp1cpq8mr64paltkb****\\",\\n \\"ProjectId\\": \\"sbp-12***\\",\\n \\"DiskPerformanceLevel\\": \\"PL0\\",\\n \\"StorageSize\\": 2,\\n \\"PayType\\": \\"Postpaid\\",\\n \\"PrivateConnectUrl\\": \\"192.168.0.1\\",\\n \\"ProjectSpec\\": \\"1C1G\\",\\n \\"VpcId\\": \\"vpc-bp19ame5m1r3oejns****\\",\\n \\"SecurityIPList\\": \\"127.0.0.1\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"Engine\\": \\"gpdb\\",\\n \\"CreateTime\\": \\"2021-10-09T04:54:08Z\\",\\n \\"DashboardPassword\\": \\"xxpassword\\",\\n \\"DashboardUserName\\": \\"null\\",\\n \\"ExpireTime\\": \\"2026-04-27T16:00:00Z\\",\\n \\"AutoScale\\": \\"false\\",\\n \\"ProjectDescription\\": \\"for-test-project\\"\\n }\\n ],\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a****\\",\\n \\"MaxResults\\": 50\\n}","type":"json"}]', 'translator' => 'machine', ], 'ListSupportModels' => [ 'summary' => 'Get the list of supported models', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'ModelNames' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'modelNames' => [ 'description' => 'The list of supported model names.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the model.'."\n", 'type' => 'string', 'example' => 'Qwen3-Embedding-8B', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"ModelNames\\": {\\n \\"modelNames\\": [\\n \\"Qwen3-Embedding-8B\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => 'ListSupportModels', 'description' => '* This API is used to query the list of supported models.'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ListSupportModels', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListTables' => [ 'summary' => 'Queries a list of tables in a database.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '225538', 'abilityTreeNodes' => ['FEATUREgpdb95T353'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~196830~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'SecretArn', 'in' => 'query', 'schema' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the access credential for the created Data API account. You can call the CreateSecret operation to create an access credential.'."\n" ."\n" .'> To call the ListTables operation as a Resource Access Management (RAM) user, the RAM user must have the permissions to call the UseSecret or GetSecretValue operation on the ARN of the access credential.'."\n", 'type' => 'string', 'required' => true, 'example' => 'acs:gpdb:cn-beijing:1033**:secret/testsecret-eG2AQGRIwQ0zFp4VA7mYL3uiCXTfDQbQ', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'adbtest', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => 'The maximum number of entries per page. Valid values: 1 to 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', 'title' => ''], ], [ 'name' => 'TablePattern', 'in' => 'query', 'schema' => ['description' => 'The table name pattern for matching. For example, `ab%` specifies to match table names that start with ab.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ab%', 'title' => ''], ], [ 'name' => 'Schema', 'in' => 'query', 'schema' => ['description' => 'The name of the schema to which the table belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'public', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'NextToken' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n", 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', 'title' => ''], 'Tables' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Tables' => [ 'description' => 'The queried tables.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the queried table.'."\n", 'type' => 'string', 'example' => 'mytable', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\",\\n \\"Tables\\": {\\n \\"Tables\\": [\\n \\"mytable\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => 'ListTables', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTables'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListTables', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListTagResources' => [ 'summary' => 'List all tag resources.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNTP4BF'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance. You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['description' => 'The resource type. Set the value to instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'instance', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The token used to perform the next query.'."\n", 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', 'title' => ''], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The ID of instance N. Valid values of N: 1 to 50.', 'type' => 'array', 'items' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'gp-2zev51nt17074****', 'title' => ''], 'required' => false, 'example' => 'gp-xxxxxxxxxx', 'maxItems' => 51, 'title' => '', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The tags that are added to instances.'."\n" ."\n" .'> You must specify at least one of the ResourceId and Tag parameters.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The tag list.', 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The key of tag N. The key must be 1 to 64 characters in length.'."\n" ."\n" .'You can use `Tag.N` to query AnalyticDB for PostgreSQL instances that have specific tags added. Tag.N consists of Tag.N.Key and Tag.N.Value.'."\n" ."\n" .'Valid values of N: 1 to 20.'."\n" ."\n" .'* If you specify only `Tag.N.Key`, all instances that have the tag key added are returned.'."\n" .'* If you specify only `Tag.N.Value`, the `InvalidParameter.TagValue` error message is returned.'."\n" .'* If you specify multiple tag key-value pairs at a time, the instances that match all the specified tag key-value pairs are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''], 'Value' => ['description' => 'The value of tag N. The value must be 1 to 128 characters in length.'."\n" ."\n" .'Valid values of N: 1 to 20.'."\n", 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'maxItems' => 21, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'NextToken' => ['description' => 'The token used to perform the next query.'."\n", 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5414A4E5-4C36-4461-95FC-23757A20B5F8', 'title' => ''], 'TagResources' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'TagResource' => [ 'description' => 'Details about the instances and tags, including the instance IDs, instance modes, and tag key-value pairs.'."\n", 'type' => 'array', 'items' => [ 'description' => 'Details are as follows.', 'type' => 'object', 'properties' => [ 'ResourceType' => ['description' => 'The storage mode of the instance.'."\n", 'type' => 'string', 'example' => 'instance', 'title' => ''], 'TagValue' => ['description' => 'The tag value.'."\n", 'type' => 'string', 'example' => 'TestValue', 'title' => ''], 'ResourceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'gp-xxxxxxxxxx', 'title' => ''], 'TagKey' => ['description' => 'The tag key.'."\n", 'type' => 'string', 'example' => 'TestKey', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\",\\n \\"RequestId\\": \\"5414A4E5-4C36-4461-95FC-23757A20B5F8\\",\\n \\"TagResources\\": {\\n \\"TagResource\\": [\\n {\\n \\"ResourceType\\": \\"instance\\",\\n \\"TagValue\\": \\"TestValue\\",\\n \\"ResourceId\\": \\"gp-xxxxxxxxxx\\",\\n \\"TagKey\\": \\"TestKey\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Query tags attached to instances', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ListTagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/*'], ], ], ], ], 'translator' => 'machine', ], 'ListWorkspaces' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the workspace.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The token for the next query.', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a****', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => 'The maximum number of entries to return. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Valid values:'."\n" ."\n" .'- **20**'."\n" .'- **50**'."\n" .'- **100**'."\n" ."\n" .'Default value: **20**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521'], 'TotalRecordCount' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Items' => [ 'description' => 'The list of workspace details.', 'type' => 'array', 'items' => [ 'description' => 'The parameter list.', 'type' => 'object', 'properties' => [ 'WorkspaceId' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => 'gp-ws-wkb4fp3j9u79ha', 'title' => ''], 'WorkspaceName' => ['description' => 'The workspace name.'."\n" .'- Maximum length: 50.'."\n" .'- Must be unique.'."\n" .'- Special characters are not allowed.', 'type' => 'string', 'example' => 'anchashid8FocugQ.oxs.xaliyun.com/oxspopscand8FocugQ#', 'title' => ''], 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2021-10-09T04:54:08Z', 'title' => ''], 'Services' => [ 'description' => 'The services in the workspace.', 'type' => 'array', 'items' => [ 'description' => 'The service information in the workspace.', 'type' => 'object', 'properties' => [ 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'agdb-xxxx', 'title' => ''], 'ServiceName' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'agdb-xxxx', 'title' => ''], 'ServiceType' => ['description' => 'The service type. Valid values:'."\n" ."\n" .'- memory'."\n" .'- drama', 'type' => 'string', 'example' => 'memory', 'title' => ''], 'Status' => ['description' => 'The service status. Valid values:'."\n" ."\n" .'- creating: The service is being created.'."\n" .'- active: The service is running.', 'type' => 'string', 'example' => 'active', 'title' => ''], 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2026-03-09T02:26:48Z', 'title' => ''], 'Cu' => ['description' => 'The compute resource.', 'type' => 'string', 'example' => '1', 'title' => ''], 'PayType' => ['description' => 'The billing type. Valid values:'."\n" ."\n" .'- **POSTPAY**: pay-as-you-go.'."\n" .'- **PREPAY**: subscription.'."\n" ."\n" .'> - If this parameter is not specified, the default value is pay-as-you-go.'."\n" .'> - In subscription billing mode, a discount is available when you purchase a duration of one year or longer. Select the billing type as needed.', 'type' => 'string', 'example' => 'POSTPAY', 'title' => ''], 'ExpireTime' => ['description' => 'The expiration time.', 'type' => 'string', 'example' => '2026-01-26T16:00:00Z', 'title' => ''], 'Plan' => ['description' => '[Deprecated]', 'type' => 'string', 'example' => 'deprecated', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'Apikeys' => [ 'description' => 'The list of API keys for the workspace.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'KeyId' => ['description' => 'The ID of the API key.', 'type' => 'string', 'example' => 'api-xxxx', 'title' => ''], 'KeyName' => ['description' => 'The name of the API key.', 'type' => 'string', 'example' => 'my-apikey', 'title' => ''], 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'my api key', 'title' => ''], 'KeyPrefix' => ['description' => 'The prefix of the API key.', 'type' => 'string', 'example' => 'sk-xxxxxx', 'title' => ''], 'CreateTime' => ['description' => 'The creation time of the API key.', 'type' => 'string', 'example' => '2026-03-09T02:26:48Z', 'title' => ''], 'AuthServices' => [ 'description' => 'The services authorized for the API key.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ServiceType' => ['description' => 'The service type. Valid values:'."\n" ."\n" .'- memory'."\n" .'- drama', 'type' => 'string', 'example' => 'drama', 'title' => ''], 'ServiceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'agdb-eqxwj5tj5ojx', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'MaxResults' => ['description' => 'The maximum number of entries to return. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], 'NextToken' => ['description' => 'The token for the next query.', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a****', 'title' => ''], 'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageRecordCount' => ['description' => 'The number of records on the current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'List workspaces', 'summary' => 'Queries the list of SaaS workspaces.', 'description' => '## Operation description'."\n" .'This operation is used to query information about all workspaces.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListWorkspaces', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"TotalRecordCount\\": 1,\\n \\"Items\\": [\\n {\\n \\"WorkspaceId\\": \\"gp-ws-wkb4fp3j9u79ha\\",\\n \\"WorkspaceName\\": \\"anchashid8FocugQ.oxs.xaliyun.com/oxspopscand8FocugQ#\\",\\n \\"CreateTime\\": \\"2021-10-09T04:54:08Z\\",\\n \\"Services\\": [\\n {\\n \\"ServiceId\\": \\"agdb-xxxx\\",\\n \\"ServiceName\\": \\"agdb-xxxx\\",\\n \\"ServiceType\\": \\"memory\\",\\n \\"Status\\": \\"active\\",\\n \\"CreateTime\\": \\"2026-03-09T02:26:48Z\\",\\n \\"Cu\\": \\"1\\",\\n \\"PayType\\": \\"POSTPAY\\",\\n \\"ExpireTime\\": \\"2026-01-26T16:00:00Z\\",\\n \\"Plan\\": \\"deprecated\\"\\n }\\n ],\\n \\"Apikeys\\": [\\n {\\n \\"KeyId\\": \\"api-xxxx\\",\\n \\"KeyName\\": \\"my-apikey\\",\\n \\"Description\\": \\"my api key\\",\\n \\"KeyPrefix\\": \\"sk-xxxxxx\\",\\n \\"CreateTime\\": \\"2026-03-09T02:26:48Z\\",\\n \\"AuthServices\\": [\\n {\\n \\"ServiceType\\": \\"drama\\",\\n \\"ServiceId\\": \\"agdb-eqxwj5tj5ojx\\"\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"MaxResults\\": 50,\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a****\\",\\n \\"PageNumber\\": 1,\\n \\"PageRecordCount\\": 1\\n}","type":"json"}]', 'translator' => 'machine', ], 'ModifyAIServiceSecurityIps' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" .'> You can call the [DescribeDBInstances](~~196830~~) operation to query the details of all instances in a region, including instance IDs.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Type', 'in' => 'query', 'schema' => ['description' => 'The service type. Currently, only drama is supported.', 'type' => 'string', 'required' => true, 'example' => 'drama', 'title' => ''], ], [ 'name' => 'ServiceId', 'in' => 'query', 'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'example' => 'drama-123456', 'title' => ''], ], [ 'name' => 'SecurityIPList', 'in' => 'query', 'schema' => ['description' => 'The list of IP addresses in the IP address whitelist group. You can add up to 1,000 IP addresses, separated by commas (,). The value 127.0.0.1 indicates that no external IP addresses are allowed to access the instance. The following formats are supported:'."\n" .'- 10.23.12.24 (IP address)'."\n" .'- 10.23.12.24/24 (CIDR pattern, Classless Inter-Domain Routing. /24 specifies the prefix length, which ranges from 1 to 32.)', 'type' => 'string', 'required' => true, 'example' => '127.0.0.1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Modify AI service whitelist', 'summary' => 'Modifies the whitelist of an AI service.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyAIServiceSecurityIps', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'ModifyAccountDescription' => [ 'summary' => 'Modifies the description of a database account for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdb4XJ12W'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances within a region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'AccountName', 'in' => 'query', 'schema' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testAccout', 'title' => ''], ], [ 'name' => 'AccountDescription', 'in' => 'query', 'schema' => ['description' => 'The new description of the database account.'."\n" ."\n" .'* The description must start with a letter.'."\n" .'* The description cannot start with `http://` or `https://`.'."\n" .'* The description can contain letters, underscores (\\_), hyphens (-), and digits.'."\n" .'* The description must be 2 to 256 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testAccoutdescribe', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => ['description' => 'Idempotence check. For more information, see [How to Ensure Idempotence](~~327176~~).', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88**********', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '99BBBD5E-B5D8-4FC8-B8BF-FB1A0A38BBA2', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"99BBBD5E-B5D8-4FC8-B8BF-FB1A0A38BBA2\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 99BBBD5E-B5D8-4FC8-B8BF-FB1A0A38BBA2\\r\\n","errorExample":""}]', 'title' => 'ModifyAccountDescription', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2024-11-19T11:17:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-10-25T09:24:16.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-09-11T00:58:52.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyAccountDescription'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyAccountDescription', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'ModifyBackupPolicy' => [ 'summary' => 'Configures the backup policy of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get', 'put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbS95BLZ'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gp-bp***************', 'title' => ''], ], [ 'name' => 'PreferredBackupTime', 'in' => 'query', 'schema' => ['description' => 'The backup window. Specify the backup window in the HH:mmZ-HH:mmZ format. The backup window must be in UTC. Default value: 00:00-01:00.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '15:00Z-16:00Z', 'title' => ''], ], [ 'name' => 'PreferredBackupPeriod', 'in' => 'query', 'schema' => ['description' => 'The cycle based on which backups are performed. If more than one day of the week is specified, the days of the week are separated by commas (,). Valid values:'."\n" ."\n" .'* Monday'."\n" .'* Tuesday'."\n" .'* Wednesday'."\n" .'* Thursday'."\n" .'* Friday'."\n" .'* Saturday'."\n" .'* Sunday'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Tuesday,Thursday,Saturday', 'title' => ''], ], [ 'name' => 'BackupRetentionPeriod', 'in' => 'query', 'schema' => ['description' => 'The number of days for which data backup files are retained. Default value: 7. Maximum value: 7. Valid values: 1 to 7.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '7', 'default' => '7', 'title' => ''], ], [ 'name' => 'EnableRecoveryPoint', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable automatic point-in-time backup.'."\n" ."\n" .'* true'."\n" .'* false'."\n" ."\n" .'Default value: true.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'RecoveryPointPeriod', 'in' => 'query', 'schema' => ['description' => 'The frequency of point-in-time backup.'."\n" ."\n" .'* 1: per hour'."\n" .'* 2: per 2 hours'."\n" .'* 4: per 4 hours'."\n" .'* 8: per 8 hours'."\n" ."\n" .'Default value: 8.'."\n", 'type' => 'string', 'required' => false, 'example' => '8', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'DA147739-AEAD-4417-9089-65**********', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DA147739-AEAD-4417-9089-65**********\\"\\n}","errorExample":""},{"type":"xml","example":"\\n DA147739-AEAD-4417-9089-65**********\\n","errorExample":""}]', 'title' => 'ModifyBackupPolicy', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2023-09-18T06:15:31.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyBackupPolicy'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyBackupPolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ModifyCollection' => [ 'summary' => 'Updates a vector collection.', 'path' => '', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182772', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query details for all AnalyticDB for PostgreSQL instances in a region, including their instance IDs.', 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password for the namespace.', 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The namespace. The default value is `public`.'."\n" ."\n" .'> You can call the CreateNamespace operation to create a namespace and the ListNamespaces operation to list existing namespaces.', 'type' => 'string', 'default' => 'public', 'required' => false, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The collection name.'."\n" ."\n" .'> You can call the [ListCollections](~~2401503~~) operation to list all collections.', 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'Metadata', 'in' => 'query', 'schema' => ['description' => 'A JSON string that specifies the operations to add or modify metadata fields. For the required format, see the example.'."\n" ."\n" .'Use this parameter to add new metadata fields, rename existing metadata fields, or perform implicit data type conversion on existing fields.'."\n" ."\n" .'Details:'."\n" ."\n" .'To add a new metadata field, set `operations[*].operator = add`. Then, use `operations[*].newMetaName` to specify the field\'s name, `operations[*].newMetaType` for its data type, and `operations[*].fullTextRetrieval` to enable full-text retrieval for it.'."\n" ."\n" .'To modify an existing metadata field, set `operations[*].operator = replace`. You must specify the current field name in `operations[*].oldMetaName`. To rename the field, provide the new name in `operations[*].newMetaName`. To change its data type, provide the new type in `operations[*].newMetaType`.'."\n" ."\n" .'> - For a list of supported data types, see [Data types](~~424383~~). The money data type is not supported.'."\n" .'>'."\n" .'> - Full-text retrieval can be enabled for a field only during an `add` operation, not a `replace` operation.'."\n" ."\n" .'>'."\n" ."\n" .'The field names `id`, `vector`, `to_tsvector`, and `source` are reserved.'."\n" ."\n" .'>', 'type' => 'string', 'required' => true, 'example' => '{"operations":['."\n" .'{"operator":"add","newMetaType":"int","newMetaName":"ext1","fullTextRetrieval":true},'."\n" .'{"operator":"replace","oldMetaName":"ext2","newMetaName":"ext3"},'."\n" .'{"operator":"replace","newMetaType":"bigint","oldMetaName":"ext4"},'."\n" .'{"operator":"replace","newMetaType":"int","oldMetaName":"ext5","newMetaName":"ext6"}'."\n" .']}', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that contains multiple database instances. You must specify either this parameter or `DBInstanceId`. If you specify both, this parameter takes precedence.', 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Metadata' => ['description' => 'The metadata schema of the collection, returned as a JSON string. This string represents a map where keys are field names and values are their data types.'."\n" ."\n" .'> - See [Data types](~~424383~~) for the list of supported data types.'."\n" .'>'."\n" .'> - The \'money\' data type is not supported.', 'type' => 'string', 'example' => '{"title":"text","content":"text","response":"int"}', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Status' => ['description' => 'The status of the API request. Valid values:'."\n" ."\n" .'- **Other values**: The request failed.'."\n" ."\n" .'- **success**: The request was successful.', 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Successful\\",\\n \\"Metadata\\": \\"{\\\\\\"title\\\\\\":\\\\\\"text\\\\\\",\\\\\\"content\\\\\\":\\\\\\"text\\\\\\",\\\\\\"response\\\\\\":\\\\\\"int\\\\\\"}\\",\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'ModifyCollection', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyCollection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], 'translator' => 'manual', ], 'ModifyDBInstanceConfig' => [ 'summary' => 'Changes the threshold of computing resources and the wait period of idle resources for an AnalyticDB for PostgreSQL instance in Serverless automatic scheduling mode.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNTP4BF'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'The ID of the resource group to which the instance belongs. For more information about how to obtain the ID of a resource group, see [View basic information of a resource group](~~151181~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-bp67acfmxazb4p****', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the instance IDs of all AnalyticDB for PostgreSQL instances in a specific region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'DBInstanceDescription', 'in' => 'query', 'schema' => ['description' => 'The description of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'ServerlessResource', 'in' => 'query', 'schema' => ['description' => 'The threshold of computing resources. Valid values: 8 to 32. Unit: AnalyticDB Compute Units (ACUs).'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '32', 'title' => ''], ], [ 'name' => 'IdleTime', 'in' => 'query', 'schema' => ['description' => 'The wait period for the instance that has no traffic to become idle. Minimum value: 60. Default value: 600. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '600', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '34B32A0A-08EF-4A87-B6BE-CDD9F56FC3AD', 'title' => ''], 'ErrorMessage' => ['description' => 'The error message returned if the operation fails.'."\n", 'type' => 'string', 'example' => '\'error message\'', 'title' => ''], 'DbInstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], 'Status' => ['description' => 'The state of the operation. Valid values:'."\n" ."\n" .'* **0**: The operation failed.'."\n" .'* **1**: The operation is successful.'."\n", 'type' => 'boolean', 'example' => '1', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34B32A0A-08EF-4A87-B6BE-CDD9F56FC3AD\\",\\n \\"ErrorMessage\\": \\"\'error message\'\\",\\n \\"DbInstanceId\\": \\"gp-bp12ga6v69h86****\\",\\n \\"Status\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n 34B32A0A-08EF-4A87-B6BE-CDD9F56FC3AD\\n gp-bp12ga6v69h86****\\n 1\\n","errorExample":""}]', 'title' => 'ModifyDBInstanceConfig', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstanceConfig'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ModifyDBInstanceConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], ], ], 'ModifyDBInstanceConnectionString' => [ 'summary' => 'Changes the endpoint of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbFBNS5O'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-t4n2qg19bnn98****', 'title' => ''], ], [ 'name' => 'ConnectionStringPrefix', 'in' => 'query', 'schema' => ['description' => 'The endpoint prefix of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-test', 'title' => ''], ], [ 'name' => 'Port', 'in' => 'query', 'schema' => ['description' => 'The port number. Example: 5432.'."\n", 'type' => 'string', 'required' => true, 'example' => '5432', 'title' => ''], ], [ 'name' => 'CurrentConnectionString', 'in' => 'query', 'schema' => ['description' => 'The current endpoint of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-t4n2qg19bnn98****-master.gpdb.rds.aliyuncs.com', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => ['description' => 'Idempotence check. For more information, see [How to Ensure Idempotence](~~327176~~).', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88**********', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '29B0BF34-D069-4495-92C7-FA6D94528A9E', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"29B0BF34-D069-4495-92C7-FA6D94528A9E\\"\\n}","type":"json"}]', 'title' => 'ModifyDBInstanceConnectionString', 'changeSet' => [ ['createdAt' => '2024-10-25T09:24:16.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-09-11T00:58:52.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstanceConnectionString'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyDBInstanceConnectionString', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'ModifyDBInstanceDeploymentMode' => [ 'summary' => 'Modifies the deployment mode of an instance.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeCode' => '244977', 'abilityTreeNodes' => ['FEATUREgpdb4JECI2'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a region.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'DeployMode', 'in' => 'query', 'schema' => ['description' => 'The deployment mode. Valid values:'."\n" .'- multiple: multi-zone deployment.'."\n" .'- single: single-zone deployment.', 'type' => 'string', 'required' => true, 'example' => 'multiple', 'title' => ''], ], [ 'name' => 'StandbyZoneId', 'in' => 'query', 'schema' => ['description' => 'The secondary zone ID.'."\n" ."\n" .'> '."\n" .'> - This parameter is required only for multi-zone deployment.'."\n" .'> - You can call the [DescribeRegions](~~86912~~) operation to query available zone IDs.'."\n" .'> - The secondary zone ID must be different from the primary zone ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-j', 'title' => ''], ], [ 'name' => 'StandbyVSwitchId', 'in' => 'query', 'schema' => ['description' => 'The vSwitch ID in the secondary zone.'."\n" ."\n" .'> '."\n" .'> - This parameter is required only for multi-zone deployment.'."\n" .'> - The zone of the vSwitch specified by this parameter must be the same as the zone specified by StandbyZoneId.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1cpq8mr64paltkb****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'gatewayOptions' => [ 'gatewayProtocols' => [], ], 'title' => 'Modify instance deployment mode', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstanceDeploymentMode'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyDBInstanceDeploymentMode', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'ModifyDBInstanceDescription' => [ 'summary' => 'Changes the description of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNTP4BF'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'This parameter is no longer used.'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the instance IDs of all AnalyticDB for PostgreSQL instances in a specific region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'DBInstanceDescription', 'in' => 'query', 'schema' => ['description' => 'The description of the instance.'."\n" ."\n" .'The description must be 2 to 256 characters in length. It cannot start with http:// or https://.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '107BE202-D1A2-479E-98E0-A8**********', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"107BE202-D1A2-479E-98E0-A8**********\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 107BE202-D1A2-479E-98E0-A8**********\\n","errorExample":""}]', 'title' => 'ModifyDBInstanceDescription', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstanceDescription'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyDBInstanceDescription', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'description' => 'To make it easy to identify AnalyticDB for PostgreSQL instances, you can call this operation to modify the description of instances.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', ], 'ModifyDBInstanceMaintainTime' => [ 'summary' => 'Modifies the maintenance window of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNTP4BF'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'This parameter is no longer used.'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp***************', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['description' => 'The start time of the maintenance window. Specify the time in the HH:mmZ format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => true, 'example' => '02:00Z', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['description' => 'The end time of the maintenance window. The end time must be later than the start time. Specify the time in the HH:mmZ format. The time must be in UTC.'."\n", 'type' => 'string', 'required' => true, 'example' => '03:00Z', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CA9A34C8-AC95-413B-AC6A-CE**********', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CA9A34C8-AC95-413B-AC6A-CE**********\\"\\n}","errorExample":""},{"type":"xml","example":"\\n CA9A34C8-AC95-413B-AC6A-CE**********\\n","errorExample":""}]', 'title' => 'ModifyDBInstanceMaintainTime', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstanceMaintainTime'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyDBInstanceMaintainTime', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'description' => '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.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', ], 'ModifyDBInstanceNetworkType' => [ 'summary' => 'Changes the network type of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbFBNS5O'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'InstanceNetworkType', 'in' => 'query', 'schema' => ['description' => 'The new network type of the instance. Valid values:'."\n" ."\n" .'* VPC'."\n" .'* Classic'."\n", 'type' => 'string', 'required' => true, 'example' => 'VPC', 'title' => ''], ], [ 'name' => 'VPCId', 'in' => 'query', 'schema' => ['description' => 'The virtual private cloud (VPC) ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vpc-bp19ame5m1r3oejns****', 'title' => ''], ], [ 'name' => 'VSwitchId', 'in' => 'query', 'schema' => ['description' => 'The vSwitch ID of the instance. This parameter must be specified when VPCId is specified.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1cpq8mr64paltkb****', 'title' => ''], ], [ 'name' => 'PrivateIpAddress', 'in' => 'query', 'schema' => ['description' => 'The internal IP address of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => '10.10.XX.XX', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '2d0c35a9-f5da-44ba-852d-741e27b7eb0b', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2d0c35a9-f5da-44ba-852d-741e27b7eb0b\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 2d0c35a9-f5da-44ba-852d-741e27b7eb0b\\n","errorExample":""}]', 'title' => 'ModifyDBInstanceNetworkType', 'description' => '##'."\n" ."\n" .'This operation is available only for AnalyticDB for PostgreSQL instances in reserved storage mode.'."\n" ."\n" .'## QPS limits'."\n" ."\n" .'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.'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstanceNetworkType'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyDBInstanceNetworkType', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ModifyDBInstancePayType' => [ 'summary' => 'Switches between billing methods for an AnalyticDB for PostgreSQL instance.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeCode' => '230786', 'abilityTreeNodes' => ['FEATUREgpdbDS97MX'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp***************'."\n", 'title' => ''], ], [ 'name' => 'PayType', 'in' => 'query', 'schema' => [ 'description' => 'The billing method of the instance. Valid values:'."\n" ."\n" .'* Postpaid: pay-as-you-go.'."\n" .'* Prepaid: subscription.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Postpaid', 'enum' => ['Postpaid', 'Prepaid'], 'title' => '', ], ], [ 'name' => 'Period', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => [ 'description' => 'The unit of the subscription duration. Valid values:'."\n" ."\n" .'* Month'."\n" .'* Year'."\n" ."\n" .'This parameter must be specified only when PayType is set to Prepaid.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Month', 'enum' => ['Month', 'Year'], 'title' => '', ], ], [ 'name' => 'UsedTime', 'in' => 'query', 'schema' => ['description' => 'The subscription duration.'."\n" ."\n" .'* Valid values when Period is set to Month: 1 to 9.'."\n" .'* Valid values when Period is set to Year: 1 to 3.'."\n" ."\n" .'This parameter must be specified only when PayType is set to Prepaid.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => '7565770E-7C45-462D-BA4A-8A5396F2****'], 'DBInstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'gp-bp***************'."\n", 'title' => ''], 'OrderId' => ['description' => 'The order ID.'."\n", 'type' => 'string', 'example' => '22719089834****', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7565770E-7C45-462D-BA4A-8A5396F2****\\",\\n \\"DBInstanceId\\": \\"gp-bp***************\\\\n\\",\\n \\"OrderId\\": \\"22719089834****\\"\\n}","type":"json"}]', 'title' => 'ModifyDBInstancePayType', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstancePayType'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyDBInstancePayType', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ModifyDBInstanceResourceGroup' => [ 'summary' => 'Moves an AnalyticDB for PostgreSQL instance to a resource group.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbGDXMO2'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'The ID of the resource group to which the instance belongs. For more information about how to obtain the ID of a resource group, see [View basic information of a resource group](~~151181~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-bp67acfmxazb4p****', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the instance IDs of all AnalyticDB for PostgreSQL instances in a specific region.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'NewResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'The ID of the resource group to which you want to move the instance. For more information about how to obtain the ID of a resource group, see [View basic information of a resource group](~~151181~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rg-bp67acfmxazb4b****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '65BDA532-28AF-4122-AA39-B382721EEE64', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'Instance.FailedUpdateResourceGroup', 'errorMessage' => 'Failed to update resource group.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"65BDA532-28AF-4122-AA39-B382721EEE64\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 65BDA532-28AF-4122-AA39-B382721EEE64\\n","errorExample":""}]', 'title' => 'ModifyDBInstanceResourceGroup', 'description' => '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~~)'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyDBInstanceResourceGroup'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyDBInstanceResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ModifyDBInstanceSSL' => [ 'summary' => 'Enables, disables, or updates SSL encryption for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbBXNVPW'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxxxx', 'title' => ''], ], [ 'name' => 'ConnectionString', 'in' => 'query', 'schema' => ['description' => 'The encrypted endpoint. By default, the wildcards are used for instances that are hosted on ECS instances. This way, the endpoints that can be resolved to the same IP address are encrypted.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxxxx-master.gpdbmaster.singapore.rds.aliyuncs.com', 'title' => ''], ], [ 'name' => 'SSLEnabled', 'in' => 'query', 'schema' => ['description' => 'The status of SSL encryption. Valid values:'."\n" ."\n" .'* 0: disables SSL encryption.'."\n" .'* 1: enables SSL encryption.'."\n" .'* 2: updates SSL encryption.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'ADD6EA90-EECB-4C12-9F26-0B6DB58710EF', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ADD6EA90-EECB-4C12-9F26-0B6DB58710EF\\"\\n}","errorExample":""},{"type":"xml","example":"ADD6EA90-EECB-4C12-9F26-0B6DB58710EF","errorExample":""}]', 'title' => 'ModifyDBInstanceSSL', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstanceSSL'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyDBInstanceSSL', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ModifyDBResourceGroup' => [ 'summary' => 'Modifies the configurations of a resource group.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '198030', 'abilityTreeNodes' => ['FEATUREgpdbGDXMO2'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'ResourceGroupItems', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The information about the resource group.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ResourceGroupName' => ['description' => 'The name of the resource group.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testgroup', 'title' => ''], 'ResourceGroupConfig' => ['description' => 'The configurations of the resource group to which you want to modify.'."\n" ."\n" .'> '."\n" ."\n" .'* CpuRateLimit: the percentage of CPU resources that are available for the resource group. Unit: %.'."\n" ."\n" .'* MemoryLimit: the percentage of memory resources that are available for the resource group. Unit: %.'."\n" ."\n" .'* MemorySharedQuota: the percentage of memory resources shared among transactions that are submitted to the resource group. Unit: %. Default value: 80.'."\n" ."\n" .'* MemorySpillRatio: the memory spill ratio for memory-intensive transactions. When the memory that is used by memory-intensive transactions reaches this value, data is spilled to disks. Unit: %. Default value: 0.'."\n" ."\n" .'* Concurrency: the maximum number of concurrent transactions or parallel queries that are allowed for a resource group. Default value: 20.'."\n", 'type' => 'string', 'required' => true, 'example' => '{"CpuRateLimit":10,"MemoryLimit":12,"MemorySharedQuota":20,"MemorySpillRatio":75,"Concurrency":3}', 'title' => ''], ], 'required' => false, 'description' => '', 'title' => '', 'example' => '', ], 'required' => true, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'title' => 'ModifyDBResourceGroup', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBResourceGroup'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyDBResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ModifyExternalDataService' => [ 'summary' => 'Modify External Data Service', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbGXMEN1'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) API to view available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-bp10g78o9807yv9h3', 'title' => ''], ], [ 'name' => 'ServiceSpec', 'in' => 'query', 'schema' => ['description' => 'Service specification (in CU), value:'."\n" ."\n" .'- 8', 'type' => 'string', 'required' => true, 'example' => '8', 'title' => ''], ], [ 'name' => 'ServiceId', 'in' => 'query', 'schema' => ['description' => 'Service ID.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'ServiceDescription', 'in' => 'query', 'schema' => ['description' => 'Service description.', 'type' => 'string', 'required' => false, 'example' => 'pxf test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","type":"json"}]', 'title' => 'ModifyExternalDataService', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyExternalDataService'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyExternalDataService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'ModifyHadoopDataSource' => [ 'summary' => 'Modifies the configurations of a Hadoop data source.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbYL5VZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxx', 'title' => ''], ], [ 'name' => 'DataSourceId', 'in' => 'query', 'schema' => ['description' => 'The data source ID.'."\n", 'type' => 'string', 'required' => false, 'example' => '123', 'title' => ''], ], [ 'name' => 'DataSourceDescription', 'in' => 'query', 'schema' => ['description' => 'Service description, with a maximum length of 256 characters.', 'type' => 'string', 'required' => false, 'example' => 'pxf for hdfs data source', 'title' => ''], ], [ 'name' => 'DataSourceType', 'in' => 'query', 'schema' => ['description' => 'The type of the data source. Valid values:'."\n" ."\n" .'* mysql'."\n" ."\n" .'- postgresql'."\n" ."\n" .'* hdfs'."\n" ."\n" .'- hive', 'type' => 'string', 'required' => false, 'example' => 'mysql', 'title' => ''], ], [ 'name' => 'HadoopCreateType', 'in' => 'query', 'schema' => ['description' => 'The type of the external service. Valid values:'."\n" ."\n" .'* emr: E-MapReduce (EMR) Hadoop cluster.'."\n" .'* selfCreate: self-managed Hadoop cluster.'."\n", 'type' => 'string', 'required' => false, 'example' => 'emr', 'title' => ''], ], [ 'name' => 'HadoopHostsAddress', 'in' => 'query', 'schema' => ['description' => 'The IP address and hostname of the Hadoop cluster (data source) in the /etc/hosts file.'."\n", 'type' => 'string', 'required' => false, 'example' => '192.168.220.128 master-1-1.c-0edfee2cccaecc75.cn-shanghai.emr.aliyuncs.com'."\n" .'192.168.220.129 core-1-1.c-0edfee2cccaecc75.cn-shanghai.emr.aliyuncs.com'."\n" .'192.168.220.130 core-1-2.c-0edfee2cccaecc75.cn-shanghai.emr.aliyuncs.com', 'title' => ''], ], [ 'name' => 'HadoopCoreConf', 'in' => 'query', 'schema' => ['description' => 'The content of the Hadoop core-site.xml file.'."\n", 'type' => 'string', 'required' => false, 'example' => ''."\n" .''."\n" .''."\n" .' '."\n" .' hadoop.http.authentication.kerberos.keytab'."\n" .' /etc/emr/hadoop-conf/http.keytab'."\n" .' '."\n" .' '."\n" .' fs.oss.idle.timeout.millisecond'."\n" .' 30000'."\n" .' '."\n" .' '."\n" .' fs.oss.download.thread.concurrency'."\n" .' 32'."\n" .' '."\n" .''."\n", 'title' => ''], ], [ 'name' => 'HDFSConf', 'in' => 'query', 'schema' => ['description' => 'The content of the Hadoop hdfs-site.xml file. This parameter must be specified when DataSourceType is set to HDFS.'."\n", 'type' => 'string', 'required' => false, 'example' => ''."\n" .''."\n" .''."\n" .' '."\n" .' dfs.datanode.cache.revocation.timeout.ms'."\n" .' 900000'."\n" .' '."\n" .' '."\n" .' dfs.namenode.resource.check.interval'."\n" .' 5000'."\n" .' '."\n" .'', 'title' => ''], ], [ 'name' => 'HiveConf', 'in' => 'query', 'schema' => ['description' => 'The content of the Hadoop hive-site.xml file. This parameter must be specified when DataSourceType is set to Hive.'."\n", 'type' => 'string', 'required' => false, 'example' => ''."\n" .''."\n" .''."\n" .' '."\n" .' hive.exec.reducers.bytes.per.reducer'."\n" .' 256000000'."\n" .' '."\n" .' '."\n" .' hive.stats.column.autogather'."\n" .' false'."\n" .' '."\n" .'', 'title' => ''], ], [ 'name' => 'YarnConf', 'in' => 'query', 'schema' => ['description' => 'The content of the Hadoop yarn-site.xml file. This parameter must be specified when DataSourceType is set to HDFS.'."\n", 'type' => 'string', 'required' => false, 'example' => ''."\n" .''."\n" .''."\n" .' '."\n" .' yarn.nodemanager.linux-container-executor.nonsecure-mode.local-user'."\n" .' hadoop'."\n" .' '."\n" .' '."\n" .' yarn.scheduler.fair.dynamic.max.assign'."\n" .' true'."\n" .' '."\n" .'', 'title' => ''], ], [ 'name' => 'MapReduceConf', 'in' => 'query', 'schema' => ['description' => 'The content of the Hadoop mapred-site.xml file. This parameter must be specified when DataSourceType is set to HDFS.'."\n", 'type' => 'string', 'required' => false, 'example' => ''."\n" .''."\n" .''."\n" .' '."\n" .' mapreduce.map.speculative'."\n" .' true'."\n" .' '."\n" .' '."\n" .' mapreduce.jobhistory.keytab'."\n" .' '."\n" .' '."\n" .'', 'title' => ''], ], [ 'name' => 'EmrInstanceId', 'in' => 'query', 'schema' => ['description' => 'When HadoopCreateType is Emr, the value of this field is the EMR instance ID.', 'type' => 'string', 'required' => false, 'example' => 'c-1234567', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '2C125605-266F-41CA-8AC5-3A643D4F42C5', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2C125605-266F-41CA-8AC5-3A643D4F42C5\\"\\n}","type":"json"}]', 'title' => 'ModifyHadoopDataSource', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyHadoopDataSource'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyHadoopDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'ModifyJDBCDataSource' => [ 'summary' => 'Modifies the configurations of a Java Database Connectivity (JDBC) data source.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbYL5VZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'DataSourceDescription', 'in' => 'query', 'schema' => ['description' => 'Data source description.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'DataSourceType', 'in' => 'query', 'schema' => ['description' => 'Database type: - mysql - postgresql - sqlserver', 'type' => 'string', 'required' => false, 'example' => 'mysql', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxx', 'title' => ''], ], [ 'name' => 'JDBCConnectionString', 'in' => 'query', 'schema' => ['description' => 'The JDBC connection string.'."\n", 'type' => 'string', 'required' => false, 'example' => 'jdbc:mysql://rm-xxx.mysql.rds.aliyuncs.com:3306/testadmin', 'title' => ''], ], [ 'name' => 'JDBCUserName', 'in' => 'query', 'schema' => ['description' => 'The name of the database account.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testuser', 'title' => ''], ], [ 'name' => 'JDBCPassword', 'in' => 'query', 'schema' => ['description' => 'The password of the database account.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testpasswd', 'title' => ''], ], [ 'name' => 'DataSourceId', 'in' => 'query', 'schema' => ['description' => 'Data source ID.', 'type' => 'string', 'required' => true, 'example' => '123', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '2C125605-266F-41CA-8AC5-3A643D4F42C5', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2C125605-266F-41CA-8AC5-3A643D4F42C5\\"\\n}","type":"json"}]', 'title' => 'ModifyJDBCDataSource', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyJDBCDataSource'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyJDBCDataSource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'ModifyMasterSpec' => [ 'summary' => 'Changes the specifications of coordinator node resources for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeCode' => '170157', 'abilityTreeNodes' => ['FEATUREgpdbY9VVTW'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'The ID of the resource group to which the instance belongs. For information about how to obtain the ID of a resource group, see [View basic information of a resource group](~~151181~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-bp67acfmxazb4p****', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'DBInstanceDescription', 'in' => 'query', 'schema' => ['description' => 'The description of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'MasterCU', 'in' => 'query', 'schema' => ['description' => 'The specifications of coordinator node resources. Valid values:'."\n" ."\n" .'* 2 CU'."\n" .'* 4 CU'."\n" .'* 8 CU'."\n" .'* 16 CU'."\n" .'* 32 CU'."\n" ."\n" .'> You are charged for coordinator node resources of more than 8 compute units (CUs).'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8 CU', 'title' => ''], ], [ 'name' => 'MasterAISpec', 'in' => 'query', 'schema' => ['description' => 'This parameter must be specified if you want to change coordinator nodes to AI coordinator nodes.'."\n" .'>- You cannot specify the MasterAISpec and MasterCU parameters at the same time.'."\n" .'>- You can change coordinator nodes to AI coordinator nodes only in specific regions and zones.'."\n" .'>- Only AnalyticDB for PostgreSQL V7.0 instances of Basic Edition support AI coordinator nodes.'."\n" .'>- You can view the valid values of this parameter on the configuration change page of coordinator nodes.', 'type' => 'string', 'required' => false, 'example' => 'ADB.AIMedium.2', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'ErrorMessage' => ['description' => 'The returned message.'."\n" ."\n" .'This parameter is returned only if the request fails.'."\n", 'type' => 'string', 'example' => '******', 'title' => ''], 'DbInstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **false**'."\n" .'* **true**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"ErrorMessage\\": \\"******\\",\\n \\"DbInstanceId\\": \\"gp-bp12ga6v69h86****\\",\\n \\"Status\\": true\\n}","type":"json"}]', 'title' => 'ModifyMasterSpec', 'description' => 'This operation is not available for instances in reserved storage mode.'."\n" ."\n" .'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).'."\n", 'changeSet' => [ ['createdAt' => '2025-02-13T07:00:07.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-02-12T11:57:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-08-29T13:04:53.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyMasterSpec'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyMasterSpec', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ModifyParameters' => [ 'summary' => 'Modifies the configuration parameters of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNYDSCU'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp***************', 'title' => ''], ], [ 'name' => 'Parameters', 'in' => 'query', 'schema' => ['description' => 'The name and value of the parameter to be modified. Specify the parameter in the `:` format.'."\n" ."\n" .'You can call the [DescribeParameters](~~208310~~) operation to query the parameters that can be modified.'."\n", 'type' => 'string', 'required' => true, 'example' => '{"statement_timeout":"11800010"}', 'title' => ''], ], [ 'name' => 'ForceRestartInstance', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to forcibly restart the instance. Valid values:'."\n" ."\n" .'* **true**'."\n" .'* **false**'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '3FE698B6-6579-547C-A403-07**********', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3FE698B6-6579-547C-A403-07**********\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 3FE698B6-6579-547C-A403-07**********\\n","errorExample":""}]', 'title' => 'ModifyParameters', 'description' => 'This operation can be called to modify parameters of an AnalyticDB for PostgreSQL instance in elastic storage mode or Serverless mode.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2022-08-24T11:48:55.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyParameters'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyParameters', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ModifyRemoteADBDataSource' => [ 'summary' => 'Modifies a remote AnalyticDB data source.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbJAU1J9'], ], 'parameters' => [ [ 'name' => 'LocalDBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the local data instance being used.', 'type' => 'string', 'required' => true, 'example' => 'gp-test', 'title' => ''], ], [ 'name' => 'UserName', 'in' => 'query', 'schema' => ['description' => 'New user name.', 'type' => 'string', 'required' => true, 'example' => 'newUserName', 'title' => ''], ], [ 'name' => 'UserPassword', 'in' => 'query', 'schema' => ['description' => 'New user password, which must be transmitted in encrypted form.', 'type' => 'string', 'required' => true, 'example' => 'newUserPassword', 'title' => ''], ], [ 'name' => 'DataSourceId', 'in' => 'query', 'schema' => ['description' => 'Service ID', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'DataSourceName', 'in' => 'query', 'schema' => ['description' => 'Specified dataSourceName.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'e9d60eb1-e90d-4bc6-a470-c8b767460858', 'title' => ''], 'TaskId' => ['description' => 'Task ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '90000', 'title' => ''], 'DataSourceItem' => [ 'description' => 'Returns the successfully modified data sharing service data.', 'type' => 'object', 'properties' => [ 'Id' => ['description' => 'ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'DataSourceName' => ['description' => 'Data source name.', 'type' => 'string', 'example' => 'db1_gptest1_to_db2_gp-test2', 'title' => ''], 'LocalInstanceName' => ['description' => 'Local instance name', 'type' => 'string', 'example' => 'gp-test1', 'title' => ''], 'LocalDatabase' => ['description' => 'Local database name', 'type' => 'string', 'example' => 'db1', 'title' => ''], 'RemoteInstanceName' => ['description' => 'Remote instance name', 'type' => 'string', 'example' => 'gp-test2', 'title' => ''], 'RemoteDatabase' => ['description' => 'Remote database name', 'type' => 'string', 'example' => 'db2', 'title' => ''], 'UserName' => ['description' => 'User name', 'type' => 'string', 'example' => 'user1', 'title' => ''], 'ManagerUserName' => ['description' => 'Manager user name', 'type' => 'string', 'example' => 'test', 'title' => ''], 'Status' => ['description' => 'Data source status', 'type' => 'string', 'example' => 'creating', 'title' => ''], 'Description' => ['description' => 'Description information.', 'type' => 'string', 'example' => 'test', 'title' => ''], 'RegionId' => ['description' => 'Region ID where the instance is located.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"e9d60eb1-e90d-4bc6-a470-c8b767460858\\",\\n \\"TaskId\\": 90000,\\n \\"DataSourceItem\\": {\\n \\"Id\\": 1,\\n \\"DataSourceName\\": \\"db1_gptest1_to_db2_gp-test2\\",\\n \\"LocalInstanceName\\": \\"gp-test1\\",\\n \\"LocalDatabase\\": \\"db1\\",\\n \\"RemoteInstanceName\\": \\"gp-test2\\",\\n \\"RemoteDatabase\\": \\"db2\\",\\n \\"UserName\\": \\"user1\\",\\n \\"ManagerUserName\\": \\"test\\",\\n \\"Status\\": \\"creating\\",\\n \\"Description\\": \\"test\\",\\n \\"RegionId\\": \\"cn-beijing\\"\\n }\\n}","type":"json"}]', 'title' => 'ModifyRemoteADBDataSource', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRemoteADBDataSource'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyRemoteADBDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'ModifySQLCollectorPolicy' => [ 'summary' => 'Enables or disables the SQL Explorer feature for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'SQLCollectorStatus', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable or disable SQL collection.'."\n" ."\n" .'* Enable: enables SQL collection.'."\n" .'* Disabled: disables SQL collection.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Enable', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'API-48109b5c-a157-44e3-9f54-eb27f02bdd15', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"API-48109b5c-a157-44e3-9f54-eb27f02bdd15\\"\\n}","type":"json"}]', 'title' => 'ModifySQLCollectorPolicy', 'description' => '* You can call this operation only for AnalyticDB for PostgreSQL instances in reserved storage mode.'."\n" .'* You can call this operation only for AnalyticDB for PostgreSQL instances in Serverless automatic scheduling mode.'."\n", 'changeSet' => [ ['createdAt' => '2023-08-03T11:31:08.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifySQLCollectorPolicy'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifySQLCollectorPolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ModifySecurityIps' => [ 'summary' => 'Modifies the IP address whitelist of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbY61DIR'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'The ID of the resource group to which the instance belongs. For more information about how to obtain the ID of a resource group, see [View basic information of a resource group](~~151181~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], [ 'name' => 'ModifyMode', 'in' => 'query', 'schema' => ['description' => 'The method of modification. Valid values:'."\n" ."\n" .'* **Cover**: overwrites the whitelist.'."\n" .'* **Append**: appends data to the whitelist.'."\n" .'* **Delete**: deletes the whitelist.'."\n", 'type' => 'string', 'required' => false, 'example' => '0', 'default' => '0', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the instance IDs of all AnalyticDB for PostgreSQL instances in a specific region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'SecurityIPList', 'in' => 'query', 'schema' => ['description' => 'The IP addresses listed in the whitelist. You can add up to 1,000 IP addresses to the whitelist. Separate multiple IP addresses with commas (,). The IP addresses must use one of the following formats:'."\n" ."\n" .'* 0.0.0.0/0'."\n" .'* 10.23.12.24. This is a standard IP address.'."\n" .'* 10.23.12.24/24. This is a CIDR block. The value `/24` indicates that the prefix of the CIDR block is 24-bit long. You can replace 24 with a value in the range of `1 to 32`.'."\n", 'type' => 'string', 'required' => true, 'example' => '10.10.**.**', 'title' => ''], ], [ 'name' => 'DBInstanceIPArrayName', 'in' => 'query', 'schema' => ['description' => 'The name of the whitelist. If you do not enter a name, IP addresses are added to the default whitelist.'."\n" ."\n" .'> You can create up to 50 whitelists for an instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ 'name' => 'DBInstanceIPArrayAttribute', 'in' => 'query', 'schema' => ['description' => 'The attribute of the IP address whitelist. By default, this parameter is empty. A whitelist with the `hidden` attribute does not appear in the console.'."\n", 'type' => 'string', 'required' => false, 'example' => 'hidden', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '871C698F-B43D-4D1D-ACD6-DF56B0F89978', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"871C698F-B43D-4D1D-ACD6-DF56B0F89978\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 871C698F-B43D-4D1D-ACD6-DF56B0F89978\\r\\n","errorExample":""}]', 'title' => 'ModifySecurityIps', 'description' => '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.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2023-05-18T07:40:57.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifySecurityIps'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifySecurityIps', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ModifyStreamingDataService' => [ 'summary' => 'Modify a real-time data service.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '198244', 'abilityTreeNodes' => ['FEATUREgpdbGXMEN1', 'FEATUREgpdbO4XFZ3'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID. '."\n" ."\n" .'> You can invoke the [DescribeRegions](~~86912~~) API to view available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~196830~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp10g78o9807yv9h3', 'title' => ''], ], [ 'name' => 'ServiceSpec', 'in' => 'query', 'schema' => ['description' => 'The specifications of the service. Unit: capacity units (CUs). Valid values:'."\n" ."\n" .'* 2'."\n" .'* 4'."\n" .'* 8'."\n" .'* 16'."\n", 'type' => 'string', 'required' => true, 'example' => '2', 'title' => ''], ], [ 'name' => 'ServiceId', 'in' => 'query', 'schema' => ['description' => 'The service ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'ServiceDescription', 'in' => 'query', 'schema' => ['description' => 'The description of the service.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test-adbpgss', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","type":"json"}]', 'title' => 'Modify a real-time data service', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyStreamingDataService'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:ModifyStreamingDataService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'ModifyStreamingDataSource' => [ 'summary' => 'Modifies a real-time service data source.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbGXMEN1', 'FEATUREgpdbO4XFZ3'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'DataSourceDescription', 'in' => 'query', 'schema' => ['description' => 'The description of the data source.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test-kafka', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~196830~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-k2j36a3172b102593', 'title' => ''], ], [ 'name' => 'DataSourceConfig', 'in' => 'query', 'schema' => ['description' => 'The configurations of the data source.'."\n", 'type' => 'string', 'required' => false, 'example' => '{"brokers":"broker0:9091,broker1:9091","topic":"topic"}', 'title' => ''], ], [ 'name' => 'DataSourceId', 'in' => 'query', 'schema' => ['description' => 'The data source ID.'."\n", 'type' => 'string', 'required' => true, 'example' => '57', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'title' => 'ModifyStreamingDataSource', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyStreamingDataSource'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyStreamingDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ModifyStreamingJob' => [ 'summary' => 'Create External Data Source Configuration', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbGXMEN1'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) API to view available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'JobId', 'in' => 'query', 'schema' => ['description' => 'Job ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID', 'type' => 'string', 'required' => true, 'example' => 'ModifyStreamingJob', 'title' => ''], ], [ 'name' => 'JobDescription', 'in' => 'query', 'schema' => ['description' => 'Job description.', 'type' => 'string', 'required' => false, 'example' => 'test-job', 'title' => ''], ], [ 'name' => 'SrcColumns', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'Source data field list.', 'type' => 'array', 'items' => ['description' => 'Source data field key.', 'type' => 'string', 'required' => false, 'example' => 'src_column_1', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'DestColumns', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'Target data table mapping field list.', 'type' => 'array', 'items' => ['description' => 'Mapping field key in the target table.', 'type' => 'string', 'required' => false, 'example' => 'dest_column_1', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'Account', 'in' => 'query', 'schema' => ['description' => 'Account name.', 'type' => 'string', 'required' => false, 'example' => 'test-account', 'title' => ''], ], [ 'name' => 'Password', 'in' => 'query', 'schema' => ['description' => 'Password.', 'type' => 'string', 'required' => false, 'example' => 'pwd123', 'title' => ''], ], [ 'name' => 'DestDatabase', 'in' => 'query', 'schema' => ['description' => 'Target database name.', 'type' => 'string', 'required' => false, 'example' => 'dest-db', 'title' => ''], ], [ 'name' => 'DestSchema', 'in' => 'query', 'schema' => ['description' => 'Target schema.', 'type' => 'string', 'required' => false, 'example' => 'dest-schema', 'title' => ''], ], [ 'name' => 'DestTable', 'in' => 'query', 'schema' => ['description' => 'Target table name.', 'type' => 'string', 'required' => false, 'example' => 'dest-table', 'title' => ''], ], [ 'name' => 'WriteMode', 'in' => 'query', 'schema' => [ 'description' => 'The write mode.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* MERGE'."\n" .'* INSERT'."\n" .'* UPDATE', 'type' => 'string', 'required' => false, 'enumValueTitles' => ['MERGE' => 'MERGE', 'INSERT' => 'INSERT', 'UPDATE' => 'UPDATE'], 'example' => 'INSERT/UPDATE/MERGE', 'enum' => ['insert', 'update', 'merge'], 'title' => '', ], ], [ 'name' => 'TryRun', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to test the real-time job. Valid values:'."\n" ."\n" .'* true'."\n" .'* false'."\n" ."\n" .'Default value: false.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false', 'title' => ''], ], [ 'name' => 'JobConfig', 'in' => 'query', 'schema' => ['description' => 'Job configuration file, required for professional mode.', 'type' => 'string', 'required' => false, 'example' => 'DATABASE: adbpgss_test'."\n" .'USER: adbpgss_test'."\n" .'PASSWORD: adbpgssTest'."\n" .'HOST: gp-xxx-master.gpdb.rds-aliyun-pre.rds.aliyuncs.com'."\n" .'PORT: 5432'."\n" .'KAFKA:'."\n" .' INPUT:'."\n" .' SOURCE:'."\n" .' BROKERS: broker1:9092,broker2:9092,broker3:9092'."\n" .' TOPIC: testtopic'."\n" .' FALLBACK_OFFSET: earliest'."\n" .' KEY:'."\n" .' COLUMNS:'."\n" .' - NAME: customer_id'."\n" .' TYPE: int'."\n" .' FORMAT: delimited'."\n" .' DELIMITED_OPTION:'."\n" .' DELIMITER: \'|\''."\n" .' VALUE:'."\n" .' COLUMNS:'."\n" .' - TYPE: integer'."\n" .' NAME: l_orderkey'."\n" .' - TYPE: integer'."\n" .' NAME: l_partkey'."\n" .' - TYPE: integer'."\n" .' NAME: l_suppkey'."\n" .' - TYPE: integer'."\n" .' NAME: l_linenumber'."\n" .' - TYPE: decimal'."\n" .' NAME: l_quantity'."\n" .' - TYPE: decimal'."\n" .' NAME: l_extendedprice'."\n" .' - TYPE: decimal'."\n" .' NAME: l_discount'."\n" .' - TYPE: decimal'."\n" .' NAME: l_tax'."\n" .' - TYPE: char'."\n" .' NAME: l_returnflag'."\n" .' - TYPE: char'."\n" .' NAME: l_linestatus'."\n" .' - TYPE: date'."\n" .' NAME: l_shipdate'."\n" .' - TYPE: date'."\n" .' NAME: l_commitdate'."\n" .' - TYPE: date'."\n" .' NAME: l_receiptdate'."\n" .' - TYPE: text'."\n" .' NAME: l_shipinstruct'."\n" .' - TYPE: text'."\n" .' NAME: l_shipmode'."\n" .' - TYPE: text'."\n" .' NAME: l_comment'."\n" .' FORMAT: delimited'."\n" .' DELIMITED_OPTION:'."\n" .' DELIMITER: \'|\''."\n" .' ERROR_LIMIT: 10'."\n" .' OUTPUT:'."\n" .' SCHEMA: adbpgss_test'."\n" .' TABLE: write_with_insert_plaintext'."\n" .' MODE: MERGE'."\n" .' MATCH_COLUMNS:'."\n" .' - l_orderkey'."\n" .' - l_partkey'."\n" .' - l_suppkey'."\n" .' UPDATE_COLUMNS:'."\n" .' - l_linenumber'."\n" .' - l_quantity'."\n" .' - l_extendedprice'."\n" .' - l_discount'."\n" .' - l_tax'."\n" .' - l_returnflag'."\n" .' - l_linestatus'."\n" .' - l_shipdate'."\n" .' - l_commitdate'."\n" .' - l_receiptdate'."\n" .' - l_shipinstruct'."\n" .' - l_shipmode'."\n" .' - l_comment'."\n" .' MAPPING:'."\n" .' - EXPRESSION: l_orderkey'."\n" .' NAME: l_orderkey'."\n" .' - EXPRESSION: l_partkey'."\n" .' NAME: l_partkey'."\n" .' - EXPRESSION: l_suppkey'."\n" .' NAME: l_suppkey'."\n" .' - EXPRESSION: l_linenumber'."\n" .' NAME: l_linenumber'."\n" .' - EXPRESSION: l_quantity'."\n" .' NAME: l_quantity'."\n" .' - EXPRESSION: l_extendedprice'."\n" .' NAME: l_extendedprice'."\n" .' - EXPRESSION: l_discount'."\n" .' NAME: l_discount'."\n" .' - EXPRESSION: l_tax'."\n" .' NAME: l_tax'."\n" .' - EXPRESSION: l_returnflag'."\n" .' NAME: l_returnflag'."\n" .' - EXPRESSION: l_linestatus'."\n" .' NAME: l_linestatus'."\n" .' - EXPRESSION: l_shipdate'."\n" .' NAME: l_shipdate'."\n" .' - EXPRESSION: l_commitdate'."\n" .' NAME: l_commitdate'."\n" .' - EXPRESSION: l_receiptdate'."\n" .' NAME: l_receiptdate'."\n" .' - EXPRESSION: l_shipinstruct'."\n" .' NAME: l_shipinstruct'."\n" .' - EXPRESSION: l_shipmode'."\n" .' NAME: l_shipmode'."\n" .' - EXPRESSION: l_comment'."\n" .' NAME: l_comment'."\n" .' COMMIT:'."\n" .' MAX_ROW: 1000'."\n" .' MINIMAL_INTERVAL: 1000'."\n" .' CONSISTENCY: ATLEAST'."\n" .' POLL:'."\n" .' BATCHSIZE: 1000'."\n" .' TIMEOUT: 1000'."\n" .' PROPERTIES:'."\n" .' group.id: testgroup', 'title' => ''], ], [ 'name' => 'GroupName', 'in' => 'query', 'schema' => ['description' => 'Kafka group name', 'type' => 'string', 'required' => false, 'example' => 'group_name', 'title' => ''], ], [ 'name' => 'FallbackOffset', 'in' => 'query', 'schema' => [ 'description' => 'The fallback offset for data consumption.'."\n" ."\n" .'* This parameter specifies the starting offset from which data consumption resumes when a consumer does not request a consumption offset or requests a consumption offset that is beyond the range of the offset information recorded in the current Kafka cluster. You can choose to start data consumption from the earliest or latest offset.'."\n" ."\n" .'Valid values:'."\n" .'* EARLIEST'."\n" .'* LATEST', 'type' => 'string', 'required' => false, 'enumValueTitles' => ['EARLIEST' => 'EARLIEST', 'LATEST' => 'LATEST'], 'example' => 'EARLIEST / LATEST', 'enum' => ['earliest', 'latest'], 'title' => '', ], ], [ 'name' => 'Consistency', 'in' => 'query', 'schema' => [ 'description' => 'The delivery guarantee setting.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ATLEAST / EXACTLY', 'enum' => ['ATLEAST', 'EXACTLY'], 'title' => '', ], ], [ 'name' => 'ErrorLimitCount', 'in' => 'query', 'schema' => ['description' => 'When the data in Kafka does not match the ADBPG target table, it will cause a write failure. This value is the number of error rows allowed; exceeding this will cause the task to fail.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5', 'title' => ''], ], [ 'name' => 'MatchColumns', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'Match columns, usually all primary key columns of the target table. If all column values in this configuration are the same, the two rows of data are considered duplicates.', 'type' => 'array', 'items' => ['description' => 'Match field key.', 'type' => 'string', 'required' => false, 'example' => 'column_1', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'UpdateColumns', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'Update columns, usually all non-primary key columns of the target table. When data duplication is determined through MatchColumns, updating the UpdateColumns column values will result in new data overwriting old data.', 'type' => 'array', 'items' => ['description' => 'Update field key.', 'type' => 'string', 'required' => false, 'example' => 'column_1', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","type":"json"}]', 'title' => 'ModifyStreamingJob', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyStreamingJob'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:ModifyStreamingJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'ModifySupabaseAutoScalePolicy' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The ID of the Supabase project. You can obtain the workspace ID from the Supabase page in the console.', 'type' => 'string', 'required' => true, 'example' => 'sbp-tyarplz****', 'title' => ''], ], [ 'name' => 'AutoScale', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable **automatic start and stop**. Valid values:'."\n" .'- true: Enabled. After this feature is enabled, Supabase automatically pauses and resumes based on traffic conditions.'."\n" .'- false: Disabled. After this feature is disabled, the automatic start and stop feature of Supabase is turned off.', 'type' => 'boolean', 'required' => true, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '07F6177E-6DE4-408A-BB4F-0723301340F3', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Modify supabase automatic start and stop policy', 'summary' => 'Modifies the automatic start and stop policy for a Supabase instance.', 'description' => '- Only ADBPG Supabase instances are supported.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifySupabaseAutoScalePolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"07F6177E-6DE4-408A-BB4F-0723301340F3\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'ModifySupabaseProjectDescription' => [ 'summary' => 'Modifies the description of a Supabase project.', 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNTP4BF'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The Supabase instance ID.', 'type' => 'string', 'required' => false, 'example' => 'sbp-twmoe9bakow', 'title' => ''], ], [ 'name' => 'ProjectDescription', 'in' => 'query', 'schema' => ['description' => 'The detailed description of the Supabase project.', 'type' => 'string', 'required' => false, 'example' => 'for-test-project', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Modify supabase project description', 'description' => '**Before you use this operation, make sure that you fully understand the billing method and [pricing](https://www.alibabacloud.com/help/en/analyticdb/analyticdb-for-postgresql/product-overview/pricing-1#9eefcc7b5acz1) of AnalyticDB for PostgreSQL Supabase**.。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifySupabaseProjectDescription', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'ModifySupabaseProjectResource' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID. You can call the [DescribeRegions](~~86912~~) operation to query available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The Supabase instance ID.', 'type' => 'string', 'required' => true, 'example' => 'sbp-tyarplz****', 'title' => ''], ], [ 'name' => 'ProjectSpec', 'in' => 'query', 'schema' => ['description' => 'The specifications of the Supabase instance.', 'type' => 'string', 'required' => false, 'example' => '2C4G', 'title' => ''], ], [ 'name' => 'StorageSize', 'in' => 'query', 'schema' => ['description' => 'The storage size, in GB.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100', 'title' => ''], ], [ 'name' => 'ModifyType', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The specification change type.', 'type' => 'string', 'required' => true, 'example' => 'UPGRADE,DOWNGRADE'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'ProjectId' => ['description' => 'The Supabase instance ID.', 'type' => 'string', 'example' => 'sbp-tyarplz****', 'title' => ''], 'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'example' => '*********', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Modify supabase project resources', 'summary' => 'Modifies the resources of a Supabase instance, including upgrading or downgrading compute resources and expanding storage resources (cloud disk size).', 'description' => '**Before using this operation, make sure that you fully understand the billing method and [pricing](https://www.alibabacloud.com/help/en/analyticdb/analyticdb-for-postgresql/product-overview/pricing-1#9eefcc7b5acz1) of AnalyticDB for PostgreSQL Supabase**.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifySupabaseProjectResource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"ProjectId\\": \\"sbp-tyarplz****\\",\\n \\"OrderId\\": \\"*********\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'ModifySupabaseProjectSecurityIps' => [ 'summary' => 'Modifies the IP address whitelist for a Supabase project.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> For more information, see [DescribeRegions](~~86912~~) to view available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'SecurityIPList', 'in' => 'query', 'schema' => ['description' => 'The list of IP addresses for the whitelist. Up to 1,000 IP addresses are supported. Separate multiple IP addresses with commas. The following formats are supported:'."\n" ."\n" .'- 10.23.12.24 (IP address)'."\n" ."\n" .'- 10.23.12.24/24 (A CIDR block, where `/24` indicates the prefix length. The prefix length must be an integer in the range `[1,32]`.)', 'type' => 'string', 'required' => true, 'example' => '127.0.0.1', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The Supabase instance ID.', 'type' => 'string', 'required' => true, 'example' => 'sbp-407****', 'title' => ''], ], [ 'name' => 'UpdateDb', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to modify the whitelist for database port 5432. The default value is true.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => ''], ], [ 'name' => 'UpdateWeb', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to modify the whitelist for HTTP port 80 and HTTPS port 443. The default value is true.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D****\\"\\n}","type":"json"}]', 'title' => 'ModifySupabaseProjectSecurityIps', 'description' => 'Before you use a Supabase instance, you must add the client\'s IP address or IP address segment to the instance\'s whitelist.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifySupabaseProjectSecurityIps', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], ], 'translator' => 'machine', ], 'ModifyVectorConfiguration' => [ 'summary' => 'Modifies the vector search engine optimization configuration of an AnalyticDB for PostgreSQL instance.', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbIPPRRA'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'VectorConfigurationStatus', 'in' => 'query', 'schema' => [ 'description' => 'Specifies whether to enable vector engine optimization. Valid values:'."\n" ."\n" .'* **enabled**'."\n" .'* **disabled**'."\n" ."\n" .'> * We recommend that you **do not enable** vector engine optimization in mainstream analysis and real-time data warehousing scenarios.'."\n" .'> * We recommend that you **enable** vector engine optimization in AI Generated Content (AIGC) and vector retrieval scenarios that require the vector analysis engine.', 'type' => 'string', 'required' => false, 'enumValueTitles' => ['disabled' => '', 'enabled' => ''], 'example' => 'enabled', 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '107BE202-D1A2-479E-98E0-A8**********', 'title' => ''], 'Status' => [ 'description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **true**'."\n" .'* **false**'."\n", 'type' => 'boolean', 'enumValueTitles' => ['true' => '', 'false' => ''], 'example' => 'true', 'title' => '', ], 'ErrorMessage' => ['description' => 'The error message that is returned.'."\n" ."\n" .'This parameter is returned only if the request fails.'."\n", 'type' => 'string', 'example' => 'Failed to modify vector configuration.', 'title' => ''], 'DBInstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"107BE202-D1A2-479E-98E0-A8**********\\",\\n \\"Status\\": true,\\n \\"ErrorMessage\\": \\"Failed to modify vector configuration.\\",\\n \\"DBInstanceId\\": \\"gp-bp12ga6v69h86****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 107BE202-D1A2-479E-98E0-A8**********\\n true\\n gp-bp12ga6v69h86****\\n","errorExample":""}]', 'title' => 'ModifyVectorConfiguration', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVectorConfiguration'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ModifyVectorConfiguration', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], ], ], 'PauseDataRedistribute' => [ 'summary' => 'Pauses data redistribution.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '214941', 'abilityTreeNodes' => ['FEATUREgpdbGMSZYK'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'title' => 'PauseDataRedistribute', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PauseDataRedistribute'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:PauseDataRedistribute', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'PauseInstance' => [ 'summary' => 'Pauses an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeNodes' => ['FEATUREgpdb84D3HZ'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '34b32a0a-08ef-4a87-b6be-cdd9********', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **false**: The request failed.'."\n" .'* **true**: The request was successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'ErrorMessage' => ['description' => 'The error message returned.'."\n" ."\n" .'This parameter is returned only if **false** is returned for the **Status** parameter.'."\n", 'type' => 'string', 'example' => '*******', 'title' => ''], 'DBInstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34b32a0a-08ef-4a87-b6be-cdd9********\\",\\n \\"Status\\": true,\\n \\"ErrorMessage\\": \\"*******\\",\\n \\"DBInstanceId\\": \\"gp-bp12ga6v69h86****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 34b32a0a-08ef-4a87-b6be-cdd9********\\n true\\n gp-bp12ga6v69h86****\\n","errorExample":""}]', 'title' => 'PauseInstance', 'description' => 'You can call this operation to pause an AnalyticDB for PostgreSQL instance that is in the **Running** state.'."\n" ."\n" .'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~~).'."\n" ."\n" .'> 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).'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', 'changeSet' => [ ['createdAt' => '2022-07-26T12:31:39.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'PauseInstance'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:PauseInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'PauseSaasService' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ServiceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'description' => '', 'example' => 'agdb-xxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ServiceId' => ['type' => 'string', 'description' => '', 'example' => 'drama-123456', 'title' => ''], 'RequestId' => ['type' => 'string', 'title' => '', 'description' => '', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521'], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '', 'summary' => '', 'description' => '删除模型服务。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ServiceId\\": \\"drama-123456\\",\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', ], 'PauseSupabaseProject' => [ 'summary' => 'Pauses a Supabase instance.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The Supabase instance ID.', 'type' => 'string', 'required' => true, 'example' => 'sbp-180****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Pause a supabase instance', 'description' => 'Pauses a Supabase instance.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:PauseSupabaseProject', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'QueryCollectionData' => [ 'summary' => 'Retrieving vector data.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182778', 'abilityTreeNodes' => ['FEATUREgpdbIPPRRA'], 'autoTest' => false, 'notSupportAutoTestReason' => '数据类API,自动化测试中,无法通过RAM验证(POP仅会返回200)', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query details for all AnalyticDB for PostgreSQL instances in a region, including their instance IDs.', 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the collection.'."\n" ."\n" .'> You can call the [ListCollections](~~2401503~~) operation to list available collections.', 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.'."\n" ."\n" .'> You can call the [ListNamespaces](~~2401502~~) operation to list available namespaces.', 'type' => 'string', 'default' => 'public', 'required' => false, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password for the namespace.', 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Content', 'in' => 'query', 'schema' => ['description' => 'The content for full-text search. If this parameter is omitted, only vector search is performed. If this parameter is specified, the system performs a hybrid search of vector search and full-text search.'."\n" ."\n" .'> You must specify one of the Content and Vector parameters.', 'type' => 'string', 'required' => false, 'example' => 'hello_world', 'title' => ''], ], [ 'name' => 'Filter', 'in' => 'formData', 'schema' => ['description' => 'The filter conditions for data retrieval. It is in the format of a WHERE clause in SQL. This expression returns a boolean value, which can be a simple comparison operator, such as `=`, `<>`, `!=`, `>`, `<`, `>=`, and `<=`, or a more complex expression combined with logical operators, such as `AND`, `OR`, and `NOT`, and keywords such as `IN`, `BETWEEN`, and `LIKE`.'."\n" ."\n" .'> - For more information about the syntax, see [PostgreSQL WHERE](https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where/).', 'type' => 'string', 'required' => false, 'example' => 'pipeline_id=\'1yhpmo0rbn\' AND (spu=\'10025667796135\' AND dept_id=\'226\')', 'title' => ''], ], [ 'name' => 'TopK', 'in' => 'query', 'schema' => ['description' => 'Specifies the number of top results to return.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0', 'example' => '10', 'title' => ''], ], [ 'name' => 'Vector', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The vector data. The length of the vector data must be the same as that specified in the [CreateCollection](~~2401497~~) operation.'."\n" ."\n" .'> - If `SparseVector` is empty, only the dense vector search results are returned.'."\n" .'>'."\n" .'> - If both `Vector` and `SparseVector` are empty, only the full-text search results are returned.', 'type' => 'array', 'items' => ['description' => 'The vector data.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '1.234', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'SparseVector', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The sparse vector data.', 'type' => 'object', 'properties' => [ 'Indices' => [ 'description' => 'The array of indexes.'."\n" ."\n" .'> The number of elements in the array cannot exceed 4,000.', 'type' => 'array', 'items' => ['description' => 'The index value.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], 'Values' => [ 'description' => 'The array of sparse vectors.', 'type' => 'array', 'items' => ['description' => 'The sparse vector data.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '1.2345', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Metrics', 'in' => 'query', 'schema' => [ 'description' => 'The similarity algorithm for search. Valid values:'."\n" ."\n" .'- **l2**: the Euclidean distance.'."\n" ."\n" .'- **ip**: the dot product distance.'."\n" ."\n" .'- **cosine**: the cosine similarity.'."\n" ."\n" .'> If this parameter is not specified, the algorithm specified when the index is created is used.', 'type' => 'string', 'enum' => ['ip', 'l2', 'cosine'], 'required' => false, 'example' => 'cosine', 'title' => '', ], ], [ 'name' => 'IncludeValues', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to return dense vector data. Valid values:'."\n" ."\n" .'- **true**: returns dense vector data.'."\n" ."\n" .'- **false**: does not return dense vector data.', 'type' => 'boolean', 'default' => 'true', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'HybridSearch', 'in' => 'query', 'schema' => ['description' => 'The hybrid search algorithm. If this parameter is empty, the system ranks results by directly comparing the scores from the vector search and the full-text search.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'- `RRF`: Reciprocal Rank Fusion. This algorithm has a parameter k to control the fusion effect. For more information, see the description of the `HybridSearchArgs` parameter.'."\n" ."\n" .'- `Weight`: weighted sort. This algorithm uses a parameter alpha to control the score ratio of vector search and full-text search, and then sorts the results. For more information about the parameter, see the `HybridSearchArgs` parameter.'."\n" ."\n" .'- `Cascaded`: performs a full-text search, and then performs a vector search on the search results.', 'type' => 'string', 'required' => false, 'example' => 'RRF', 'title' => ''], ], [ 'name' => 'HybridSearchArgs', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The parameters for the hybrid search algorithm. The following algorithms are supported: RRF and Weight.'."\n" ."\n" .'- For RRF, specify the constant k in the scoring algorithm `1/(k+rank_i)`. The value must be a positive integer greater than 1. The format is as follows:'."\n" ."\n" .'```'."\n" .'{ '."\n" .' "RRF": {'."\n" .' "k": 60'."\n" .' }'."\n" .'}'."\n" .'```'."\n" ."\n" .'- For Weight, in the formula `alpha * vector_score + (1-alpha) * text_score`, the alpha parameter indicates the score ratio of the vector search to the full-text search. The value ranges from 0 to 1. 0 indicates that only the full-text search is used, and 1 indicates that only the vector search is used.'."\n" ."\n" .'```'."\n" .'{ '."\n" .' "Weight": {'."\n" .' "alpha": 0.5'."\n" .' }'."\n" .'}'."\n" .'```', 'type' => 'object', 'required' => false, 'additionalProperties' => [ 'type' => 'object', 'additionalProperties' => ['description' => 'The configurations of the recall algorithm.', 'type' => 'any', 'example' => '{ '."\n" .' "RRF": {'."\n" .' "k": 60'."\n" .' }'."\n" .'}'."\n", 'title' => ''], 'description' => 'The recall algorithm.', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], [ 'name' => 'OrderBy', 'in' => 'query', 'schema' => ['description' => 'This parameter is left empty by default. It specifies the field based on which to sort the results. This parameter is not supported in hybrid search.'."\n" ."\n" .'The field must be a metadata field or a default field in the table, such as `id`. The following formats are supported:'."\n" ."\n" .'- A single field, such as `chunk_id`.'."\n" ."\n" .'- Multiple fields separated by commas (,), such as `block_id, chunk_id`.'."\n" ."\n" .'- Descending order, such as `block_id DESC, chunk_id DESC`.', 'type' => 'string', 'required' => false, 'example' => 'chunk_id', 'title' => ''], ], [ 'name' => 'Offset', 'in' => 'query', 'schema' => ['description' => 'This parameter is left empty by default. It specifies the start position of a paged query. This parameter is not supported in hybrid search.'."\n" ."\n" .'The value must be greater than or equal to 0. When this parameter is not empty, Total in the response indicates the total number of hits. This parameter is used with TopK. For example, if you want to retrieve chunks 0 to 44 with a page size of 20, you must send three requests:'."\n" ."\n" .'- `Offset=0, TopK=20` returns chunks 0 to 19.'."\n" ."\n" .'- `Offset=20, TopK=20` returns chunks 20 to 39.'."\n" ."\n" .'- `Offset=40, TopK=20` returns chunks 40 to 44.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], ], [ 'name' => 'IncludeMetadataFields', 'in' => 'query', 'schema' => ['description' => 'This parameter is left empty by default. It specifies the metadata fields to be returned. You can specify multiple fields and separate them with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'title,content', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that consists of multiple database instances. You must specify this parameter or the DBInstanceId parameter. If both this parameter and DBInstanceId are specified, this parameter is used.', 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], [ 'name' => 'RelationalTableFilter', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'Uses another relational table to filter vector data, which is similar to the JOIN operation.'."\n" ."\n" .'> The data of the relational table can be returned by setting the IncludeMetadataFields parameter. For example, `rds_table_name.id` indicates that the id field of the relational table is returned.', 'type' => 'object', 'properties' => [ 'CollectionMetadataField' => ['description' => 'The metadata field of the vector collection, which is used to associate with the fields of the vector table.', 'type' => 'string', 'required' => false, 'example' => 'doc_id', 'title' => ''], 'TableField' => ['description' => 'The field of the relational table, which is used to associate with the metadata field of the vector collection.', 'type' => 'string', 'required' => false, 'example' => 'id', 'title' => ''], 'TableName' => ['description' => 'The name of the relational table.', 'type' => 'string', 'required' => false, 'example' => 'my_rds_table', 'title' => ''], 'Condition' => ['description' => 'The filter conditions for the relational table.', 'type' => 'string', 'required' => false, 'example' => 'tags @> ARRAY[\'art\']', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'IncludeSparseValues', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to return sparse vector data. Valid values:'."\n" ."\n" .'- **true**: returns sparse vector data.'."\n" ."\n" .'- **false**: does not return sparse vector data.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The recall results.', 'type' => 'object', 'properties' => [ 'Matches' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'match' => [ 'description' => 'An array of matched items.', 'type' => 'array', 'items' => [ 'description' => 'A single matched record.', 'type' => 'object', 'properties' => [ 'Id' => ['description' => 'The unique ID of the vector data.', 'type' => 'string', 'example' => 'doca-1234', 'title' => ''], 'Metadata' => [ 'description' => 'The associated metadata.', 'type' => 'object', 'additionalProperties' => ['description' => 'The value of a metadata key.', 'type' => 'string', 'example' => '{"title":"test title", "content": "test content"}', 'title' => ''], 'title' => '', 'example' => '', ], 'Values' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'value' => [ 'description' => 'An array of floating-point numbers representing the dense vector.', 'type' => 'array', 'items' => ['description' => 'A value within the dense vector.', 'type' => 'number', 'format' => 'double', 'example' => '1.234', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => 'The Vector Data.', 'title' => '', 'example' => '', ], 'Score' => ['description' => 'The similarity score of the data record. The score is based on the algorithm `(l2/ip/cosine)` specified during index creation.', 'type' => 'number', 'format' => 'double', 'example' => '0.12345', 'title' => ''], 'SparseValues' => [ 'description' => 'The sparse vector data.', 'title' => '', 'type' => 'object', 'properties' => [ 'Indices' => [ 'itemNode' => true, 'description' => 'The indices of the sparse vector.', 'type' => 'object', 'properties' => [ 'Indice' => [ 'description' => 'An array of indices for the sparse vector.', 'title' => '', 'type' => 'array', 'items' => ['title' => '', 'description' => 'A single index value.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], 'example' => '', ], ], 'title' => '', 'example' => '', ], 'Values' => [ 'itemNode' => true, 'description' => 'The values of the sparse vector.', 'type' => 'object', 'properties' => [ 'Value' => [ 'description' => 'An array of values corresponding to the indices in the sparse vector.', 'title' => '', 'type' => 'array', 'items' => ['title' => '', 'description' => 'A single value from the sparse vector.', 'type' => 'number', 'format' => 'float', 'example' => '0.222'], 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], 'MetadataV2' => [ 'description' => 'The metadata. This field has the same values as Metadata, but uses a different element type to allow the SDK to deserialize values into their native data types.', 'additionalProperties' => ['description' => 'The SDK deserializes this field\'s value according to the following rules.'."\n" ."\n" .'> **Deserialization rules**'."\n" ."\n" .'| ADBPG type | Java SDK type | Python SDK type |'."\n" .'| ---------------------------------------------- | --------------------------------------------------------------------- | --------------- |'."\n" .'| Integer (integer, bigint) | Long | int |'."\n" .'| Floating-point number (real, double precision) | Double | float |'."\n" .'| Boolean (boolean) | Boolean | bool |'."\n" .'| String (text, character varying) | String | str |'."\n" .'| Array (for example, int[], text[]) | ArrayList, where T is mapped according to the rules in this table. | list |'."\n" .'| json | String | str |', 'type' => 'any', 'example' => '{\'array_field\': [15.5, 25.5, 35.5], \'float_field\': 128.45, \'long_field\': 123456789017, \'bool_field\': False, \'json_field\': \'{"key1":"value1","num":999.0}\', \'char_array_field\': \'[c, h, a, r, s, 5]\', \'int_field\': 128, \'source\': 0, \'double_field\': 12350.6789, \'string_field\': \'test_string_5\'}', 'title' => ''], 'type' => 'object', 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => 'The matched results.', 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Status' => ['description' => 'The status of the request. Valid values:'."\n" ."\n" .'- **success**: The request was successful.'."\n" ."\n" .'- **fail**: The request failed.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Message' => ['description' => 'Details about the error, returned if the request fails.', 'type' => 'string', 'example' => '0.1234', 'title' => ''], 'Total' => ['description' => 'The total number of hits for the search. This parameter is returned only when the Offset parameter in the request is not 0.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Matches\\": {\\n \\"match\\": [\\n {\\n \\"Id\\": \\"doca-1234\\",\\n \\"Metadata\\": {\\n \\"key\\": \\"{\\\\\\"title\\\\\\":\\\\\\"test title\\\\\\", \\\\\\"content\\\\\\": \\\\\\"test content\\\\\\"}\\"\\n },\\n \\"Values\\": {\\n \\"value\\": [\\n 1.234\\n ]\\n },\\n \\"Score\\": 0.12345,\\n \\"SparseValues\\": {\\n \\"Indices\\": {\\n \\"Indice\\": [\\n 20\\n ]\\n },\\n \\"Values\\": {\\n \\"Value\\": [\\n 0.222\\n ]\\n }\\n },\\n \\"MetadataV2\\": {\\n \\"key\\": \\"{\'array_field\': [15.5, 25.5, 35.5], \'float_field\': 128.45, \'long_field\': 123456789017, \'bool_field\': False, \'json_field\': \'{\\\\\\"key1\\\\\\":\\\\\\"value1\\\\\\",\\\\\\"num\\\\\\":999.0}\', \'char_array_field\': \'[c, h, a, r, s, 5]\', \'int_field\': 128, \'source\': 0, \'double_field\': 12350.6789, \'string_field\': \'test_string_5\'}\\"\\n }\\n }\\n ]\\n },\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Status\\": \\"success\\",\\n \\"Message\\": \\"0.1234\\",\\n \\"Total\\": 100\\n}","type":"json"}]', 'title' => 'Recall Vector Data', 'changeSet' => [ ['createdAt' => '2025-09-29T14:58:33.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2025-09-11T13:55:09.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2025-04-27T13:01:17.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-03-11T17:01:38.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-08-28T09:30:40.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-08-04T13:55:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-04-29T13:31:01.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2024-04-22T13:36:11.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-11-07T11:35:34.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-08-17T09:42:08.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-08-08T12:18:50.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2023-08-01T14:00:15.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryCollectionData'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:QueryCollectionData', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], 'translator' => 'manual', ], 'QueryContent' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeCode' => '197792', 'abilityTreeNodes' => ['FEATUREgpdb4XJLZD'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including instance IDs.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The namespace. Default value: public.'."\n" ."\n" .'> You can create a namespace by calling the [CreateNamespace](~~2401495~~) operation and query namespaces by calling the [ListNamespaces](~~2401502~~) operation.', 'type' => 'string', 'default' => 'public', 'required' => false, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the document collection.'."\n" ."\n" .'> The document collection is created by calling the [CreateDocumentCollection](~~2618448~~) operation. You can call the [ListDocumentCollections](~~2618452~~) operation to query existing document collections.', 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password of the namespace.'."\n" ."\n" .'> This value is specified by the [CreateNamespace](~~2401495~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Content', 'in' => 'formData', 'schema' => ['description' => 'The text content used for retrieval.', 'type' => 'string', 'required' => false, 'example' => 'What is AnalyticDB for PostgreSQL?', 'title' => ''], ], [ 'name' => 'Filter', 'in' => 'query', 'schema' => ['description' => 'The filter condition for the data to query, in SQL WHERE clause format. The filter is an expression that returns a Boolean value (true or false). Conditions can be simple comparison operators such as equal to (=), not equal to (<> or !=), greater than (>), less than (<), greater than or equal to (>=), and less than or equal to (<=). Conditions can also be more complex expressions combined with logical operators (AND, OR, NOT), as well as conditions using the IN, BETWEEN, and LIKE keywords.'."\n" ."\n" .'> '."\n" .'> - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where/.', 'type' => 'string', 'required' => false, 'example' => 'title = \'test\' AND name like \'test%\'', 'title' => ''], ], [ 'name' => 'RecallWindow', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The recall window. When this value is not empty, additional context around the retrieval results is returned. The format is a two-element array: List, where -10<=A<=0 and 0<=B<=10.'."\n" .'> - Use this parameter when documents are split into overly small chunks and retrieval may lose contextual information.'."\n" .'> - Reranking takes priority over windowing. Reranking is performed first, followed by windowing.', 'type' => 'array', 'items' => ['description' => 'The recall window size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '[-5, 5]', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'TopK', 'in' => 'query', 'schema' => ['description' => 'The number of top results to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2147483647', 'minimum' => '1', 'example' => '10', 'title' => ''], ], [ 'name' => 'RerankFactor', 'in' => 'query', 'schema' => ['description' => 'The reranking factor. When this value is not empty, the AISearch retrieve results are reranked. Valid values: 1 < RerankFactor <= 5.'."\n" .'> - Reranking is slow when documents are sparsely chunked.'."\n" .'> - The total number of reranked results (TopK × Factor, rounded up) should not exceed 50.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '2', 'title' => ''], ], [ 'name' => 'UseFullTextRetrieval', 'in' => 'query', 'schema' => ['description' => '(Deprecated) Specifies whether to use full-text retrieval (dual-path recall). Default value: false, which indicates that only vector retrieval is used.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'Metrics', 'in' => 'query', 'schema' => ['description' => 'The similarity algorithm used for retrieval. If this value is empty, the algorithm specified when the knowledge base was created is used. Leave this parameter empty unless you have specific requirements.'."\n" ."\n" .'> Valid values:'."\n" .'> - **l2**: Euclidean distance.'."\n" .'> - **ip**: inner product distance.'."\n" .'> - **cosine**: cosine similarity.', 'type' => 'string', 'required' => false, 'example' => 'cosine', 'title' => ''], ], [ 'name' => 'FileName', 'in' => 'query', 'schema' => ['description' => 'The name of the source image file to search in image-to-image search scenarios.'."\n" ."\n" .'> The image file must have a file extension. Supported image extensions: bmp, jpg, jpeg, png, and tiff.', 'type' => 'string', 'required' => false, 'example' => 'test.jpg', 'title' => ''], ], [ 'name' => 'FileUrl', 'in' => 'query', 'schema' => ['description' => 'The publicly accessible URL of the image file in image-to-image search scenarios.'."\n" ."\n" .'> The image file must have a file extension. Supported image extensions: bmp, jpg, jpeg, png, and tiff.', 'type' => 'string', 'isFileTransferUrl' => true, 'required' => false, 'example' => 'https://xx/myImage.jpg'."\n", 'title' => ''], ], [ 'name' => 'IncludeVector', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to return vectors. Default value: false.'."\n" .'> - **false**: Does not return vectors.'."\n" .'> - **true**: Returns vectors.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'HybridSearch', 'in' => 'query', 'schema' => ['description' => 'The multi-channel recall algorithm. Default value: empty, which indicates that the dense vector and full-text index scores are directly compared and sorted.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'- RRF: Reciprocal Rank Fusion. A parameter k controls the fusion effect. For more information, see the HybridSearchArgs configuration.'."\n" .'- Weight: Weighted sorting. Parameters control the score weights of AISearch retrieve and full-text index results before sorting. For more information, see the HybridSearchArgs configuration.'."\n" .'- Cascaded: Full-text index retrieve is performed first, followed by AISearch retrieve based on the full-text index results.', 'type' => 'string', 'required' => false, 'example' => 'RRF', 'title' => ''], ], [ 'name' => 'HybridSearchArgs', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The algorithm parameters for multi-channel recall. RRF and Weight are supported. HybridPathsSetting specifies the recall paths: dense vectors (dense), sparse vectors (sparse), and full-text index (fulltext). If this value is empty, dense vectors (dense) and full-text index (fulltext) are used by default.'."\n" ."\n" .'- RRF: Specifies the constant k in the score calculation formula `1/(k+rank_i)`. The value must be a positive integer greater than 1. Format:'."\n" .'```'."\n" .'{'."\n" .' "HybridPathsSetting": {'."\n" .' "paths": "dense,fulltext"'."\n" .' },'."\n" .' "RRF": {'."\n" .' "k": 60'."\n" .' }'."\n" .'}'."\n" .'```'."\n" ."\n" .'- Weight: '."\n" .' - Dual-path recall (without specifying HybridPathsSetting, only specifying alpha):'."\n" .' - Formula: alpha * dense_score + (1-alpha) * fulltext_score. The alpha parameter specifies the score weight between dense vectors and full-text index retrieve. Valid values: 0 to 1, where 0 indicates full-text index only and 1 indicates dense vector only:'."\n" .'```'."\n" .'{ '."\n" .' "Weight": {'."\n" .' "alpha": 0.5'."\n" .' }'."\n" .'}'."\n" .'```'."\n" .' - Three-path recall pattern:'."\n" .' - Formula: normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score. The dense, sparse, and fulltext values represent the weights for dense vectors, sparse vectors, and full-text index retrieve respectively. Valid values: greater than or equal to 0. The system automatically performs normalization of the weights to 0 to 1 (normalized_x = x / (dense + sparse + fulltext)).'."\n" .'```'."\n" .'{'."\n" .' "HybridPathsSetting": {'."\n" .' "paths": "dense,sparse,fulltext"'."\n" .' },'."\n" .' "Weight": {'."\n" .' "dense": 0.5,'."\n" .' "sparse": 0.3,'."\n" .' "fulltext": 0.2'."\n" .' }'."\n" .'}'."\n" .'```', 'type' => 'object', 'required' => false, 'additionalProperties' => [ 'type' => 'object', 'additionalProperties' => ['description' => 'The parameter value.', 'type' => 'any', 'example' => '{'."\n" .' "HybridPathsSetting": {'."\n" .' "paths": "dense,fulltext"'."\n" .' },'."\n" .' "RRF": {'."\n" .' "k": 60'."\n" .' }'."\n" .'}', 'title' => ''], 'description' => 'The multi-channel recall parameter name.', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], [ 'name' => 'IncludeMetadataFields', 'in' => 'query', 'schema' => ['description' => 'The metadata fields to return. Default value: empty. Separate multiple fields with commas.', 'type' => 'string', 'required' => false, 'example' => 'title,page', 'title' => ''], ], [ 'name' => 'IncludeFileUrl', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to synchronously return the URL of the document. By default, the URL is not returned.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'UrlExpiration', 'in' => 'query', 'schema' => ['description' => 'The validity period of the returned image URL.'."\n" ."\n" .'> Valid values:'."\n" .'> - Supports seconds (s) and days (d) as units. For example, 300s indicates a validity period of 300 seconds, and 60d indicates a validity period of 60 days.'."\n" .'> - Valid values: 60s to 365d.'."\n" .'> - Default value: 7200s (2 hours).', 'type' => 'string', 'required' => false, 'example' => '7200s', 'title' => ''], ], [ 'name' => 'GraphEnhance', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable knowledge graph enhancement. Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'GraphSearchArgs', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The knowledge graph retrieval parameters.', 'type' => 'object', 'properties' => [ 'GraphTopK' => ['description' => 'The number of top entities and relationship edges to return. Default value: 60.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'RerankModel', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '', 'description' => 'The rerank model parameters.', 'type' => 'object', 'properties' => [ 'Name' => ['title' => '', 'description' => 'The name of the rerank model. Valid values: qwen3-rerank, gte-rerank-v2.', 'type' => 'string', 'example' => 'qwen3-rerank', 'required' => false], 'Instruct' => ['title' => '', 'description' => 'This parameter can be set when RerankModel.Name is qwen3-rerank.'."\n" .'Adds a custom sorting task type description. This parameter guides the model to adopt different sorting strategies.', 'type' => 'string', 'example' => 'Given a web search query, retrieve relevant passages that answer the query', 'required' => false], 'RerankMetadataFields' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], 'required' => false, 'example' => '', ], ], [ 'name' => 'OrderBy', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The field used for sorting. Default value: empty.'."\n" ."\n" .'The field must belong to metadata or a default field in the table, such as id. Supported formats:'."\n" ."\n" .'A single field, such as chunk_id.'."\n" .'Multiple fields separated by commas, such as block_id, chunk_id.'."\n" .'Descending order, such as block_id DESC, chunk_id DESC.', 'type' => 'string', 'example' => 'created_at', 'required' => false], ], [ 'name' => 'Offset', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The offset for paged query. Used for paging through results.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The status. Valid values:'."\n" ."\n" .'- **success**: Succeeded.'."\n" .'- **fail**: Failed.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Matches' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'MatchList' => [ 'description' => 'The list of matched results.', 'type' => 'array', 'items' => [ 'description' => 'A single record.', 'type' => 'object', 'properties' => [ 'Id' => ['description' => 'The unique ID of the vector data.', 'type' => 'string', 'example' => 'doca-1234', 'title' => ''], 'Content' => ['description' => 'The text content.', 'type' => 'string', 'example' => 'AnalyticDB for PostgreSQL is a massively parallel processing (MPP) data warehouse service compatible with ANSI SQL 2003, the PostgreSQL ecosystem, and the Oracle database ecosystem.', 'title' => ''], 'Metadata' => [ 'description' => 'The metadata map.', 'type' => 'object', 'additionalProperties' => ['description' => 'The metadata.', 'type' => 'string', 'example' => '{"title":"test"}', 'title' => ''], 'title' => '', 'example' => '', ], 'Vector' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'VectorList' => [ 'description' => 'The vector data list.', 'type' => 'array', 'items' => ['description' => 'The vector data.', 'type' => 'number', 'format' => 'double', 'example' => '[1.2123,-0.12314,...]', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'FileName' => ['description' => 'The file name.', 'type' => 'string', 'example' => 'my_doc.txt', 'title' => ''], 'Score' => ['description' => 'The similarity score of this record. The scoring algorithm is related to the algorithm (l2/ip/cosine) specified when the index was created.', 'type' => 'number', 'format' => 'double', 'example' => '0.12345', 'title' => ''], 'RetrievalSource' => ['description' => 'The source of the retrieve result. 1 indicates AISearch retrieve, 2 indicates full-text index retrieve, and 3 indicates dual-path recall.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'LoaderMetadata' => ['description' => 'The metadata generated by the document loader during loading.', 'type' => 'string', 'example' => '{"page_pos": 1}', 'title' => ''], 'FileURL' => ['description' => 'The public URL of the image in the query result. The default validity period is 2 hours.'."\n" ."\n" .'You can specify a custom validity period by using the UrlExpiration parameter.', 'type' => 'string', 'example' => 'https://xxx-cn-beijing.aliyuncs.com/image/test.png', 'title' => ''], 'RerankScore' => ['description' => 'The rerank score.', 'type' => 'number', 'format' => 'double', 'example' => '6.2345', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'WindowMatches' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'windowMatches' => [ 'description' => 'The list of windowed matched results.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'WindowMatch' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'windowMatch' => [ 'description' => 'The list of windowed matched results for a single top result.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Id' => ['description' => 'The unique ID of the vector data.', 'type' => 'string', 'example' => 'doca-2345', 'title' => ''], 'Content' => ['description' => 'The text content.', 'type' => 'string', 'example' => 'AnalyticDB for PostgreSQL is a massively parallel processing (MPP) data warehouse service compatible with ANSI SQL 2003, the PostgreSQL ecosystem, and the Oracle database ecosystem.', 'title' => ''], 'Metadata' => [ 'description' => 'The metadata map.', 'type' => 'object', 'additionalProperties' => ['description' => 'The metadata.', 'type' => 'string', 'example' => '{"title":"test"}', 'title' => ''], 'title' => '', 'example' => '', ], 'FileName' => ['description' => 'The file name.', 'type' => 'string', 'example' => 'my_doc.txt', 'title' => ''], 'LoaderMetadata' => ['description' => 'The metadata generated by the document loader during loading.', 'type' => 'string', 'example' => '{"page_pos": 2}', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'EmbeddingTokens' => ['description' => 'The number of tokens used during vectorization.'."\n" ."\n" .'> A token is the smallest unit into which the input text is split. A token can be a word, a phrase, a punctuation mark, or a character.', 'type' => 'string', 'example' => '100', 'title' => ''], 'Usage' => [ 'description' => 'The resource usage of this query.', 'type' => 'object', 'properties' => [ 'EmbeddingTokens' => ['description' => 'The number of tokens used during vectorization.'."\n" ."\n" .'> A token is the smallest unit into which the input text is split. A token can be a word, a phrase, a punctuation mark, or a character.', 'type' => 'string', 'example' => '100', 'title' => ''], 'EmbeddingEntries' => ['description' => 'The number of entries used during vectorization.'."\n" ."\n" .'> An entry refers to the number of items processed during vectorization of text or images. For example, processing text once counts as 1 entry, and processing an image once counts as 2 entries.', 'type' => 'string', 'example' => '10', 'title' => ''], ], 'title' => '', 'example' => '', ], 'Entities' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'entities' => [ 'description' => 'The list of entities.', 'type' => 'array', 'items' => [ 'description' => 'The entity details.', 'type' => 'object', 'properties' => [ 'Id' => ['description' => 'The entity ID.', 'type' => 'string', 'example' => '1', 'title' => ''], 'Entity' => ['description' => 'The entity name.', 'type' => 'string', 'example' => 'Dr. Wang', 'title' => ''], 'Type' => ['description' => 'The entity type.', 'type' => 'string', 'example' => 'person', 'title' => ''], 'Description' => ['description' => 'The entity description.', 'type' => 'string', 'example' => 'A former advisor at DeepMind.', 'title' => ''], 'FileName' => ['description' => 'The file name.', 'type' => 'string', 'example' => 'my_doc.txt', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'Relations' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'relations' => [ 'description' => 'The list of relationship edges.', 'type' => 'array', 'items' => [ 'description' => 'The relationship edge details.', 'type' => 'object', 'properties' => [ 'Id' => ['description' => 'The relationship edge ID.', 'type' => 'string', 'example' => '1', 'title' => ''], 'SourceEntity' => ['description' => 'The source entity.', 'type' => 'string', 'example' => 'DeepMind consultant', 'title' => ''], 'TargetEntity' => ['description' => 'The target entity.', 'type' => 'string', 'example' => 'Dr. Wang', 'title' => ''], 'Description' => ['description' => 'The relationship edge description.', 'type' => 'string', 'example' => 'Dr. Wang previously served as an advisor at DeepMind.', 'title' => ''], 'FileName' => ['description' => 'The file name.', 'type' => 'string', 'example' => 'my_doc.txt'."\n", 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'Query document content', 'summary' => 'Retrieves vectors and metadata from a specified document collection using natural language queries.', 'changeSet' => [ ['createdAt' => '2025-09-10T15:09:31.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2025-05-29T16:31:13.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-03-25T08:35:39.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-07-18T13:41:31.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-04-29T13:31:01.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-04-22T13:36:11.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-02-19T11:25:34.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2024-01-17T12:16:40.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryContent'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:QueryContent', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"Matches\\": {\\n \\"MatchList\\": [\\n {\\n \\"Id\\": \\"doca-1234\\",\\n \\"Content\\": \\"AnalyticDB for PostgreSQL is a massively parallel processing (MPP) data warehouse service compatible with ANSI SQL 2003, the PostgreSQL ecosystem, and the Oracle database ecosystem.\\",\\n \\"Metadata\\": {\\n \\"key\\": \\"{\\\\\\"title\\\\\\":\\\\\\"test\\\\\\"}\\"\\n },\\n \\"Vector\\": {\\n \\"VectorList\\": [\\n 0\\n ]\\n },\\n \\"FileName\\": \\"my_doc.txt\\",\\n \\"Score\\": 0.12345,\\n \\"RetrievalSource\\": 1,\\n \\"LoaderMetadata\\": \\"{\\\\\\"page_pos\\\\\\": 1}\\",\\n \\"FileURL\\": \\"https://xxx-cn-beijing.aliyuncs.com/image/test.png\\",\\n \\"RerankScore\\": 6.2345\\n }\\n ]\\n },\\n \\"WindowMatches\\": {\\n \\"windowMatches\\": [\\n {\\n \\"WindowMatch\\": {\\n \\"windowMatch\\": [\\n {\\n \\"Id\\": \\"doca-2345\\",\\n \\"Content\\": \\"AnalyticDB for PostgreSQL is a massively parallel processing (MPP) data warehouse service compatible with ANSI SQL 2003, the PostgreSQL ecosystem, and the Oracle database ecosystem.\\",\\n \\"Metadata\\": {\\n \\"key\\": \\"{\\\\\\"title\\\\\\":\\\\\\"test\\\\\\"}\\"\\n },\\n \\"FileName\\": \\"my_doc.txt\\",\\n \\"LoaderMetadata\\": \\"{\\\\\\"page_pos\\\\\\": 2}\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"EmbeddingTokens\\": \\"100\\",\\n \\"Usage\\": {\\n \\"EmbeddingTokens\\": \\"100\\",\\n \\"EmbeddingEntries\\": \\"10\\"\\n },\\n \\"Entities\\": {\\n \\"entities\\": [\\n {\\n \\"Id\\": \\"1\\",\\n \\"Entity\\": \\"Dr. Wang\\",\\n \\"Type\\": \\"person\\",\\n \\"Description\\": \\"A former advisor at DeepMind.\\",\\n \\"FileName\\": \\"my_doc.txt\\"\\n }\\n ]\\n },\\n \\"Relations\\": {\\n \\"relations\\": [\\n {\\n \\"Id\\": \\"1\\",\\n \\"SourceEntity\\": \\"DeepMind consultant\\",\\n \\"TargetEntity\\": \\"Dr. Wang\\",\\n \\"Description\\": \\"Dr. Wang previously served as an advisor at DeepMind.\\",\\n \\"FileName\\": \\"my_doc.txt\\\\n\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'translator' => 'machine', ], 'QueryKnowledgeBasesContent' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeCode' => '197792', 'abilityTreeNodes' => ['FEATUREgpdb4XJLZD'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including instance IDs.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'Content', 'in' => 'query', 'schema' => ['description' => 'The text content used for retrieval.', 'type' => 'string', 'required' => true, 'example' => 'What is ADBPG?', 'title' => ''], ], [ 'name' => 'MergeMethod', 'in' => 'query', 'schema' => ['description' => 'The method used to merge results from multiple knowledge bases. Default value: RRF. Valid values:'."\n" .'- RRF'."\n" .'- Weight', 'type' => 'string', 'required' => false, 'example' => 'RRF', 'title' => ''], ], [ 'name' => 'MergeMethodArgs', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The parameters for the merge method of each SourceCollection.', 'type' => 'object', 'properties' => [ 'Rrf' => [ 'description' => 'The configurable parameters when MergeMethod is set to RRF.', 'type' => 'object', 'properties' => [ 'K' => ['description' => 'The k constant in the scoring algorithm `1/(k+rank_i)`. The value must be a positive integer greater than 1.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'Weight' => [ 'description' => 'The configurable parameters when MergeMethod is set to Weight.', 'type' => 'object', 'properties' => [ 'Weights' => [ 'description' => 'The weight array for each SourceCollection.', 'type' => 'array', 'items' => ['description' => 'The weight for each SourceCollection.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0.5', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'RerankFactor', 'in' => 'query', 'schema' => ['description' => 'The reranking factor. If this parameter is not empty, the vector retrieval results are reranked. Valid values: 1 < RerankFactor <= 5.'."\n" .'> - Reranking is slow when document chunks are sparse.'."\n" .'> - The recommended reranking count (TopK × Factor, rounded up) should not exceed 50.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '2', 'title' => ''], ], [ 'name' => 'RerankModel', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The reranking model parameters for performing an additional reranking on the overall results after multi-channel merging.', 'type' => 'object', 'properties' => [ 'Name' => ['description' => 'The reranking model name. Valid values: qwen3-rerank, gte-rerank-v2.', 'type' => 'string', 'required' => false, 'example' => 'qwen3-rerank', 'title' => ''], 'Instruct' => ['description' => 'This parameter can be set when RerankModel.Name is set to qwen3-rerank. Specifies a custom ranking task type description that guides the model to adopt different ranking strategies.', 'type' => 'string', 'required' => false, 'example' => 'Given a web search query, retrieve relevant passages that answer the query'."\n", 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'SourceCollection', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The information about the multiple collections to retrieve.', 'type' => 'array', 'items' => [ 'description' => 'The knowledge base.', 'type' => 'object', 'properties' => [ 'Collection' => ['description' => 'The document collection name.'."\n" ."\n" .'> Created by the [CreateDocumentCollection](~~2618448~~) operation. You can call the [ListDocumentCollections](~~2618452~~) operation to view existing document collections.', 'type' => 'string', 'required' => true, 'example' => 'knowledge22', 'title' => ''], 'Namespace' => ['description' => 'The namespace.'."\n" ."\n" .'> You can create a namespace by calling the [CreateNamespace](~~2401495~~) operation and view the list by calling the [ListNamespaces](~~2401502~~) operation.', 'type' => 'string', 'required' => false, 'example' => 'ns_cloud_index', 'title' => ''], 'NamespacePassword' => ['description' => 'The password for the namespace.'."\n" ."\n" .'> This value is specified by the [CreateNamespace](~~2401495~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'ns_password', 'title' => ''], 'QueryParams' => [ 'description' => 'The filter conditions for the data to query, in SQL WHERE clause format.', 'type' => 'object', 'properties' => [ 'Filter' => ['description' => 'The filter conditions for the data to query, in SQL WHERE clause format. This is an expression that returns a Boolean value (true or false). Conditions can be simple comparison operators such as equal to (=), not equal to (<> or !=), greater than (>), less than (<), greater than or equal to (>=), or less than or equal to (<=). Conditions can also be more complex expressions combined with logical operators (AND, OR, NOT), as well as conditions using the IN, BETWEEN, and LIKE keywords.'."\n" ."\n" .'> '."\n" .'> - For detailed syntax, refer to: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-where/', 'type' => 'string', 'required' => false, 'example' => 'id = \'llm-52tvykqt6u67iw73_j6ovptwjk7_file_6ce3da1f7e69495d9f491f2180c86973_11967297\'', 'title' => ''], 'GraphEnhance' => ['description' => 'Specifies whether to enable knowledge graph enhancement. Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], 'GraphSearchArgs' => [ 'description' => 'The number of top entities and relationship edges to return. Default value: 60.', 'type' => 'object', 'properties' => [ 'GraphTopK' => ['description' => 'The number of top entities and relationship edges to return. Default value: 60.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'HybridSearch' => ['description' => 'The multi-channel recall algorithm. Default value: empty (scores from dense vectors and full-text retrieval are directly compared and sorted).'."\n" ."\n" .'Valid values:'."\n" ."\n" .'- RRF: Reciprocal rank fusion. A parameter k controls the fusion effect. For more information, see the HybridSearchArgs configuration.'."\n" .'- Weight: Weighted ranking. Parameters control the score weights of vector retrieval and full-text retrieval results before sorting. For more information, see the HybridSearchArgs configuration.'."\n" .'- Cascaded: Full-text retrieval is performed first, followed by vector retrieval on the full-text retrieval results.', 'type' => 'string', 'required' => false, 'example' => 'Cascaded', 'title' => ''], 'HybridSearchArgs' => [ 'description' => 'The algorithm parameters for multi-channel recall. RRF and Weight are supported. HybridPathsSetting specifies the recall paths: dense vectors (dense), sparse vectors (sparse), and full-text retrieval (fulltext). If this value is empty, dense vectors (dense) and full-text retrieval (fulltext) are used by default.'."\n" ."\n" .'- RRF: The k constant in the scoring algorithm `1/(k+rank_i)`. The value must be a positive integer greater than 1. Format:'."\n" .'```'."\n" .'{'."\n" .' "HybridPathsSetting": {'."\n" .' "paths": "dense,fulltext"'."\n" .' },'."\n" .' "RRF": {'."\n" .' "k": 60'."\n" .' }'."\n" .'}'."\n" .'```'."\n" ."\n" .'- Weight: '."\n" .' - Dual-path recall (without specifying HybridPathsSetting, only specifying alpha):'."\n" .' - Formula: alpha * dense_score + (1-alpha) * fulltext_score. The alpha parameter specifies the score weight between dense vectors and full-text retrieval. Valid values: 0 to 1, where 0 indicates full-text retrieval only and 1 indicates dense vectors only:'."\n" .'```'."\n" .'{ '."\n" .' "Weight": {'."\n" .' "alpha": 0.5'."\n" .' }'."\n" .'}'."\n" .'```'."\n" .' - Three-path recall pattern:'."\n" .' - Formula: normalized_dense * dense_score + normalized_sparse * sparse_score + normalized_fulltext * fulltext_score. The dense, sparse, and fulltext parameters represent the weights for dense vectors, sparse vectors, and full-text retrieval respectively. Valid values: greater than or equal to 0. The system automatically applies normalization to the weights to 0 to 1 (normalized_x = x / (dense + sparse + fulltext)).'."\n" .'```'."\n" .'{'."\n" .' "HybridPathsSetting": {'."\n" .' "paths": "dense,sparse,fulltext"'."\n" .' },'."\n" .' "Weight": {'."\n" .' "dense": 0.5,'."\n" .' "sparse": 0.3,'."\n" .' "fulltext": 0.2'."\n" .' }'."\n" .'}'."\n" .'```', 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'any', 'description' => '', 'title' => '', 'example' => ''], 'title' => '', 'example' => '', ], 'Metrics' => ['description' => 'The method used to build the vector index. Valid values:'."\n" .'- l2: Euclidean distance.'."\n" .'- ip: inner product distance.'."\n" .'- cosine: cosine similarity.', 'type' => 'string', 'required' => false, 'example' => 'cosine', 'title' => ''], 'RecallWindow' => [ 'description' => 'The recall window. If this value is not empty, additional context is returned for the retrieval results. The format is a two-element array: List, where -10 <= A <= 0 and 0 <= B <= 10.'."\n" .'> - Use this parameter when document chunks are too granular and retrieval may lose context information.'."\n" .'> - Reranking takes priority over windowing. Reranking is performed first, followed by windowing.', 'type' => 'array', 'items' => ['description' => 'The recall window range value.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '[0,0]', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], 'RerankFactor' => ['description' => 'The reranking factor. If this parameter is not empty, the vector retrieval results are reranked. Valid values: 1 < RerankFactor <= 5.'."\n" .'> - Reranking is slow when document chunks are sparse.'."\n" .'> - The recommended reranking count (TopK × Factor, rounded up) should not exceed 50.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '2.0', 'title' => ''], 'RerankModel' => [ 'description' => 'The reranking model parameters.', 'type' => 'object', 'properties' => [ 'Name' => ['description' => 'The reranking model name. Valid values: qwen3-rerank, gte-rerank-v2.', 'type' => 'string', 'required' => false, 'example' => 'qwen3-rerank', 'title' => ''], 'Instruct' => ['description' => 'This parameter can be set when RerankModel.Name is set to qwen3-rerank. Specifies a custom ranking task type description that guides the model to adopt different ranking strategies.', 'type' => 'string', 'required' => false, 'example' => 'Given a web search query, retrieve relevant passages that answer the query'."\n", 'title' => ''], 'RerankMetadataFields' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'TopK' => ['description' => 'The number of top results to return.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '776', 'title' => ''], 'UseFullTextRetrieval' => ['description' => 'Specifies whether to use full-text retrieval (dual-path recall). Default value: false, which indicates that only vector retrieval is used.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], 'OrderBy' => ['description' => 'The field used for sorting. Default value: empty.'."\n" ."\n" .'The field must belong to metadata or a default field in the table, such as id. Supported formats:'."\n" ."\n" .'A single field, such as chunk_id.'."\n" .'Multiple fields separated by commas, such as block_id, chunk_id.'."\n" .'Descending order, such as block_id DESC, chunk_id DESC.', 'type' => 'string', 'required' => false, 'example' => 'file_id,sort_num', 'title' => ''], 'Offset' => ['description' => 'The offset for paged query. Used for paging through results.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => true, 'title' => '', 'example' => '', ], ], [ 'name' => 'TopK', 'in' => 'query', 'schema' => ['description' => 'The number of top results to return after multi-channel recall merging.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The API execution status. Valid values:'."\n" .'- **success**: The execution is successful.'."\n" .'- **fail**: The execution failed.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Matches' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'MatchList' => [ 'description' => 'The individual record.', 'type' => 'array', 'items' => [ 'description' => 'The individual record.', 'type' => 'object', 'properties' => [ 'Id' => ['description' => 'The unique ID of the vector data.', 'type' => 'string', 'example' => 'doca-1234', 'title' => ''], 'Content' => ['description' => 'The text content.', 'type' => 'string', 'example' => 'AnalyticDB for PostgreSQL provides a simple, fast, and cost-effective PB-level cloud data warehousing solution.', 'title' => ''], 'Metadata' => [ 'description' => 'The metadata map.', 'type' => 'object', 'additionalProperties' => ['description' => 'The metadata map value.', 'type' => 'string', 'example' => '{\\"pic_id\\":\\"text\\",\\"pic_name\\":\\"text\\",\\"pic_url\\":\\"text\\"}', 'title' => ''], 'title' => '', 'example' => '', ], 'FileName' => ['description' => 'The file name.', 'type' => 'string', 'example' => 'my_doc.txt', 'title' => ''], 'Score' => ['description' => 'The similarity score of this record. The scoring algorithm is related to the algorithm (l2/ip/cosine) specified when the index was created.', 'type' => 'number', 'format' => 'double', 'example' => '0.12345', 'title' => ''], 'RetrievalSource' => ['description' => 'The source of the retrieval result. A value of 1 indicates vector retrieval, 2 indicates full-text retrieval, and 3 indicates dual-path recall.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'LoaderMetadata' => ['description' => 'The metadata generated by the document loader during loading.', 'type' => 'string', 'example' => '{"page_pos": 1}', 'title' => ''], 'FileURL' => ['description' => 'The public URL of the image in the query result. The URL is valid for 2 hours by default.'."\n" ."\n" .'You can specify a custom validity period by using the UrlExpiration input parameter.', 'type' => 'string', 'example' => 'https://xxx-cn-beijing.aliyuncs.com/image/test.png', 'title' => ''], 'RerankScore' => ['description' => 'The reranking score.', 'type' => 'number', 'format' => 'double', 'example' => '6.2345', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'EmbeddingTokens' => ['description' => 'The number of tokens used during vectorization.'."\n" ."\n" .'> A token is the smallest unit into which the input text is split. A token can be a word, a phrase, a punctuation mark, or a character.', 'type' => 'string', 'example' => '100', 'title' => ''], 'Usage' => [ 'description' => 'The resource usage of this query.', 'type' => 'object', 'properties' => [ 'EmbeddingTokens' => ['description' => 'The number of tokens used during vectorization.'."\n" ."\n" .'> A token is the smallest unit into which the input text is split. A token can be a word, a phrase, a punctuation mark, or a character.', 'type' => 'string', 'example' => '475', 'title' => ''], 'EmbeddingEntries' => ['description' => 'The number of entries used during vectorization.'."\n" ."\n" .'> An entry refers to the number of items processed during vectorization of text or images. For example, processing text once counts as 1 entry, and processing an image once counts as 2 entries.', 'type' => 'string', 'example' => '10', 'title' => ''], ], 'title' => '', 'example' => '', ], 'Entities' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'entities' => [ 'description' => 'The entity details.', 'type' => 'array', 'items' => [ 'description' => 'The entity details.', 'type' => 'object', 'properties' => [ 'Id' => ['description' => 'The entity ID.', 'type' => 'string', 'example' => '1', 'title' => ''], 'Entity' => ['description' => 'The entity name.', 'type' => 'string', 'example' => 'Dr. Wang', 'title' => ''], 'Type' => ['description' => 'The entity type.', 'type' => 'string', 'example' => '人物', 'title' => ''], 'Description' => ['description' => 'The entity description.', 'type' => 'string', 'example' => 'A former advisor at DeepMind.', 'title' => ''], 'FileName' => ['description' => 'The file name.', 'type' => 'string', 'example' => 'my_doc.txt', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'Relations' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'relations' => [ 'description' => 'The relationship edge details.', 'type' => 'array', 'items' => [ 'description' => 'The relationship edge details.', 'type' => 'object', 'properties' => [ 'Id' => ['description' => 'The relationship edge ID.', 'type' => 'string', 'example' => '1', 'title' => ''], 'SourceEntity' => ['description' => 'The source entity.', 'type' => 'string', 'example' => 'DeepMind前顾问', 'title' => ''], 'TargetEntity' => ['description' => 'The target entity.', 'type' => 'string', 'example' => 'Dr. Wang', 'title' => ''], 'Description' => ['description' => 'The relationship edge description.', 'type' => 'string', 'example' => 'Dr. Wang previously served as an advisor at DeepMind.', 'title' => ''], 'FileName' => ['description' => 'The file name.', 'type' => 'string', 'example' => 'my_doc.txt'."\n", 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'Query content from multiple document collections', 'summary' => 'Retrieves vectors and metadata from multiple specified document collections using natural language statements, merges multi-channel recall results, and returns the combined results.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:QueryKnowledgeBasesContent', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"Matches\\": {\\n \\"MatchList\\": [\\n {\\n \\"Id\\": \\"doca-1234\\",\\n \\"Content\\": \\"AnalyticDB for PostgreSQL provides a simple, fast, and cost-effective PB-level cloud data warehousing solution.\\",\\n \\"Metadata\\": {\\n \\"key\\": \\"{\\\\\\\\\\\\\\"pic_id\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"text\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"pic_name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"text\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"pic_url\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"text\\\\\\\\\\\\\\"}\\"\\n },\\n \\"FileName\\": \\"my_doc.txt\\",\\n \\"Score\\": 0.12345,\\n \\"RetrievalSource\\": 1,\\n \\"LoaderMetadata\\": \\"{\\\\\\"page_pos\\\\\\": 1}\\",\\n \\"FileURL\\": \\"https://xxx-cn-beijing.aliyuncs.com/image/test.png\\",\\n \\"RerankScore\\": 6.2345\\n }\\n ]\\n },\\n \\"EmbeddingTokens\\": \\"100\\",\\n \\"Usage\\": {\\n \\"EmbeddingTokens\\": \\"475\\",\\n \\"EmbeddingEntries\\": \\"10\\"\\n },\\n \\"Entities\\": {\\n \\"entities\\": [\\n {\\n \\"Id\\": \\"1\\",\\n \\"Entity\\": \\"Dr. Wang\\",\\n \\"Type\\": \\"人物\\",\\n \\"Description\\": \\"A former advisor at DeepMind.\\",\\n \\"FileName\\": \\"my_doc.txt\\"\\n }\\n ]\\n },\\n \\"Relations\\": {\\n \\"relations\\": [\\n {\\n \\"Id\\": \\"1\\",\\n \\"SourceEntity\\": \\"DeepMind前顾问\\",\\n \\"TargetEntity\\": \\"Dr. Wang\\",\\n \\"Description\\": \\"Dr. Wang previously served as an advisor at DeepMind.\\",\\n \\"FileName\\": \\"my_doc.txt\\\\n\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'translator' => 'machine', ], 'RebalanceDBInstance' => [ 'summary' => 'Rebalances an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdb7UXCRB'], ], 'parameters' => [ [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests.'."\n" ."\n" .'The token can be up to 64 characters in length and can contain letters, digits, hyphens (-), and underscores (\\_).'."\n" ."\n" .'For more information, see [How to ensure idempotence](~~134212~~).'."\n", 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88**********', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-bp***************', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '5414A4E5-4C36-4461-95FC-************', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5414A4E5-4C36-4461-95FC-************\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 5414A4E5-4C36-4461-95FC-************\\n","errorExample":""}]', 'title' => 'RebalanceDBInstance', 'changeSet' => [ ['createdAt' => '2022-05-25T13:14:43.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RebalanceDBInstance'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:RebalanceDBInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], ], ], 'ReleaseInstancePublicConnection' => [ 'summary' => 'Releases the public endpoint of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbFBNS5O'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'CurrentConnectionString', 'in' => 'query', 'schema' => ['description' => 'The public endpoint of the instance.'."\n" ."\n" .'You can log on to the AnalyticDB for PostgreSQL console and go to the **Basic Information** page of the instance to view the **public endpoint** in the **Database Connection** section.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****.gpdb.rds.aliyuncs.com', 'title' => ''], ], [ 'name' => 'AddressType', 'in' => 'query', 'schema' => ['description' => 'The type of the endpoint. Default value: primary. Valid values:'."\n" ."\n" .'* **primary**: primary endpoint.'."\n" .'* **cluster**: cluster endpoint. This type of endpoints can be created only for instances that have multiple coordinator nodes.'."\n", 'type' => 'string', 'required' => false, 'example' => 'primary', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '9CEF7037-4158-4A65-BEC7-2A**********', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9CEF7037-4158-4A65-BEC7-2A**********\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 9CEF7037-4158-4A65-BEC7-2A**********\\n","errorExample":""}]', 'title' => 'ReleaseInstancePublicConnection', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseInstancePublicConnection'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ReleaseInstancePublicConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'Rerank' => [ 'summary' => 'The Rerank operation can resolve the issue of inaccurate ranking of vector and full-text search results. It re-scores and reranks the retrieved data through semantic understanding to significantly improve the relevance and accuracy of the results. AnalyticDB for PostgreSQL allows you to rerank search results by using Rerank models, but does not provide models.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '241092', 'abilityTreeNodes' => ['FEATUREgpdb95T353'], 'autoTest' => false, 'notSupportAutoTestReason' => '数据类API,自动化测试中,无法通过RAM验证(POP仅会返回200)', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) API to view details of all AnalyticDB PostgreSQL instances in the target region, including the instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID where the instance is located.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Query', 'in' => 'formData', 'schema' => ['description' => 'Query statement for Rerank.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'What is ADBPG?', 'title' => ''], ], [ 'name' => 'Documents', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => 'List of documents to be re-ordered.', 'type' => 'array', 'items' => ['description' => 'Content of a single document.', 'type' => 'string', 'required' => false, 'example' => 'ADBPG是阿里云OLAP数据库。', 'title' => ''], 'required' => false, 'docRequired' => true, 'example' => 'ADBPG is an Alibaba Cloud OLAP database.', 'title' => '', ], ], [ 'name' => 'Model', 'in' => 'formData', 'schema' => ['description' => 'Rerank model, currently supports:'."\n" .'- bge-reranker-v2-m3: (default), better performance, supports 8192 tokens per inference, if exceeded, it will be split, which may reduce the effect.'."\n" .'- bge-reranker-v2-minicpm-layerwise: better performance than v2-m3, supports 2048 tokens per inference, if exceeded, it will be split, which may reduce the effect.', 'type' => 'string', 'required' => false, 'example' => 'bge-reranker-v2-m3', 'title' => ''], ], [ 'name' => 'Instruct', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false, 'example' => 'Given a web search query, retrieve relevant passages that answer the query', 'title' => '', 'description' => ''], ], [ 'name' => 'TopK', 'in' => 'formData', 'schema' => ['description' => 'Number of most relevant documents to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], ], [ 'name' => 'ReturnDocuments', 'in' => 'formData', 'schema' => ['description' => 'If set to false, does not return the Documents text, only returns the index of the document order and the rerank score.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'MaxChunksPerDoc', 'in' => 'formData', 'schema' => ['description' => 'Maximum number of chunks allowed when the text exceeds the model window:'."\n" .'- bge-reranker-v2-m3: default value is 10.'."\n" .'- bge-reranker-v2-minicpm-layerwise: default value is 5:'."\n" ."\n" .'> Example of splitting'."\n" .'> - If using the bge-reranker-v2-minicpm-layerwise model, the maximum single inference window is 2048 tokens. If the query is 48 tokens and the content of a single document parameter is 9000 tokens, it will be divided as follows: 1-2000 for the first, 2001-4000 for the second, and so on. If the number of splits exceeds MaxChunksPerDoc, the remaining sentences will be discarded.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'Detailed information returned by the interface.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'API execution status, value description:'."\n" .'- **success**: Execution succeeded.'."\n" .'- **fail**: Execution failed.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Tokens' => ['description' => 'Number of consumed tokens.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], 'Results' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Results' => [ 'description' => 'Rerank results.', 'type' => 'array', 'items' => [ 'description' => 'Details of the results.', 'type' => 'object', 'properties' => [ 'Document' => ['description' => 'Re-ordered document information.', 'type' => 'string', 'example' => 'ADBPG is an Alibaba Cloud OLAP database.', 'title' => ''], 'Index' => ['description' => 'Index of this document in the request parameter Documents, starting from 0.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'RelevanceScore' => ['description' => 'Rerank similarity score.', 'type' => 'number', 'format' => 'float', 'example' => '2.31412', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"Tokens\\": 100,\\n \\"Results\\": {\\n \\"Results\\": [\\n {\\n \\"Document\\": \\"ADBPG is an Alibaba Cloud OLAP database.\\",\\n \\"Index\\": 1,\\n \\"RelevanceScore\\": 2.31412\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Rerank', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'Rerank'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:Rerank', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'ResetAccountPassword' => [ 'summary' => 'Resets the password of a database account for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdb4XJ12W'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Before you call this operation, make sure that the following requirements are met:'."\n" ."\n" .'* The instance is in the running state.'."\n" .'* The instance is not locked.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-t4nf48vf15713****', 'title' => ''], ], [ 'name' => 'AccountName', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testaccount_1', 'title' => ''], ], [ 'name' => 'AccountPassword', 'in' => 'query', 'schema' => ['description' => 'The name of the account.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Testaccount_1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The new password for the account. The password must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `! @ # $ % ^ & * ( ) _ + - =`'."\n", 'type' => 'string', 'example' => '187C80FC-75C4-477C-BBF2-A368A36D041C', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"187C80FC-75C4-477C-BBF2-A368A36D041C\\"\\n}","type":"json"}]', 'title' => 'ResetAccountPassword', 'changeSet' => [ ['createdAt' => '2022-08-24T11:48:57.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResetAccountPassword'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ResetAccountPassword', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ResetBranch' => [ 'summary' => 'Resets a Supabase branch.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID. This parameter is required when you create a main branch. When you create a child branch, the region is inherited from the main branch by default.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The Supabase project ID that corresponds to the main branch.', 'type' => 'string', 'required' => true, 'example' => 'spb-xxxx', 'title' => ''], ], [ 'name' => 'BranchId', 'in' => 'query', 'schema' => ['description' => 'The branch ID that uniquely identifies a Supabase branch.', 'type' => 'string', 'required' => true, 'example' => 'br-xxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D****', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Reset a branch', 'description' => 'Resets a child branch to the latest data of its parent branch. The main branch, branches without a parent branch, branches with child branches, and protected branches cannot be reset.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D****\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'ResetIMVMonitorData' => [ 'summary' => 'Resets the IMV statistics.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbZKDTVY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp152460513z****', 'title' => ''], ], [ 'name' => 'Database', 'in' => 'query', 'schema' => ['description' => 'The name of the database.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testdb', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **false**'."\n" .'* **true**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Status\\": true\\n}","type":"json"}]', 'title' => 'ResetIMVMonitorData', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResetIMVMonitorData'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ResetIMVMonitorData', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ResetSupabaseProjectPassword' => [ 'summary' => 'Reset the password of a Supabase database', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'AccountPassword', 'in' => 'query', 'schema' => ['description' => 'The password of the database account.'."\n" ."\n" .'* The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.'."\n" .'* Special characters include `! @ # $ % ^ & * ( ) _ + - =`'."\n" .'* The password must be 8 to 32 characters in length.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Pw123456', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'Supabase Instance ID'."\n", 'type' => 'string', 'required' => true, 'example' => 'sbp-tyarplz****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D****\\"\\n}","type":"json"}]', 'title' => 'ResetSupabaseProjectPassword', 'description' => 'Call this API to reset the password of the Supabase database.'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ResetSupabaseProjectPassword', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], ], ], 'RestartDBInstance' => [ 'summary' => 'Restarts an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdb7UXCRB'], ], 'parameters' => [ [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. For more information, see [How to ensure idempotence](~~327176~~).'."\n", 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88**********', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A7356493-7141-4393-8951-CDA8AB5D67EC', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A7356493-7141-4393-8951-CDA8AB5D67EC\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n A7356493-7141-4393-8951-CDA8AB5D67EC\\r\\n","errorExample":""}]', 'title' => 'RestartDBInstance', 'description' => '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.'."\n" ."\n" .'## Limit'."\n" ."\n" .'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.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2022-08-24T11:48:57.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RestartDBInstance'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'gpdb:RestartDBInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'RestartSupabaseProject' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID. Specifies the region in which to query or perform the operation.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The Supabase project ID.', 'type' => 'string', 'required' => true, 'example' => 'spb-xxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Restart a supabase project', 'summary' => 'Restarts a Supabase project.', 'description' => 'Restarts a specified Supabase project. After a successful call, a request ID is returned, and the restart process is executed asynchronously in the backend.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:RestartSupabaseProject', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'RestoreBranch' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID. This parameter is required when you create a primary branch. When you create a sub-branch, the region is inherited from the primary branch by default.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The Supabase project ID associated with the primary branch.', 'type' => 'string', 'required' => true, 'example' => 'spb-xxxx', 'title' => ''], ], [ 'name' => 'BranchId', 'in' => 'query', 'schema' => ['description' => 'The branch ID that uniquely identifies a Supabase branch.', 'type' => 'string', 'required' => true, 'example' => 'br-xxxx', 'title' => ''], ], [ 'name' => 'SourceBranchId', 'in' => 'query', 'schema' => ['description' => 'The ID of the source branch from which to recover.', 'type' => 'string', 'required' => true, 'example' => 'br-main', 'title' => ''], ], [ 'name' => 'SourceBranchTimestamp', 'in' => 'query', 'schema' => ['description' => 'The point in time of the source branch to recover to. The value must be within the recoverable time window.', 'type' => 'string', 'required' => false, 'example' => '2026-04-08T09:11:12Z', 'title' => ''], ], [ 'name' => 'SourceBranchLsn', 'in' => 'query', 'schema' => ['description' => 'The LSN of the source branch to recover to.', 'type' => 'string', 'required' => false, 'example' => '0/3522648', 'title' => ''], ], [ 'name' => 'PreserveUnderName', 'in' => 'query', 'schema' => ['description' => 'The backup branch name. If specified, automatic creation of a backup branch is performed before recovery.', 'type' => 'string', 'required' => false, 'example' => 'backup-main', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => ['description' => 'The client idempotency token that ensures the idempotence of retry requests.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426614174000', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D****', 'title' => ''], 'BranchId' => ['description' => 'The branch ID that uniquely identifies a Supabase branch.', 'type' => 'string', 'example' => 'br-xxxx', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Recover a branch', 'summary' => 'Recovers a Supabase branch.', 'description' => 'Recovers a target branch to a specified point in time or LSN of the source branch. Before recovery, you can specify a backup branch name to preserve the original target branch.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D****\\",\\n \\"BranchId\\": \\"br-xxxx\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'RestoreSnapshot' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID. Specifies the region in which to query or perform the operation.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The Supabase project ID.', 'type' => 'string', 'required' => true, 'example' => 'spb-xxxx', 'title' => ''], ], [ 'name' => 'RestoredLsn', 'in' => 'query', 'schema' => ['description' => 'The snapshot LSN used for restoration.', 'type' => 'string', 'required' => true, 'example' => '0/3522648', 'title' => ''], ], [ 'name' => 'TargetBranchId', 'in' => 'query', 'schema' => ['description' => 'The target branch ID. If not specified, the backend selects the target branch based on the restoration process.', 'type' => 'string', 'required' => false, 'example' => 'br-main', 'title' => ''], ], [ 'name' => 'RestoredBranchName', 'in' => 'query', 'schema' => ['description' => 'The name of the restored branch. If not specified, the backend generates a name automatically.', 'type' => 'string', 'required' => false, 'example' => 'restore_preview', 'title' => ''], ], [ 'name' => 'FinalizeRestore', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to complete the restoration immediately. Default value: false.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => ['description' => 'The idempotency token. Ensures that repeated requests do not execute the same operation more than once.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B', 'title' => ''], 'BranchId' => ['description' => 'The ID of the restored branch.', 'type' => 'string', 'example' => 'br-restore', 'title' => ''], 'ProjectId' => ['description' => 'The Supabase project ID.', 'type' => 'string', 'example' => 'spb-xxxx', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Restore a snapshot', 'summary' => 'Restores a Supabase project from a snapshot.', 'description' => 'Restores to a target branch based on a snapshot LSN. You can specify the restored branch name and the target branch. FinalizeRestore controls whether to complete the restoration immediately.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:RestoreSnapshot', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\",\\n \\"BranchId\\": \\"br-restore\\",\\n \\"ProjectId\\": \\"spb-xxxx\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'ResumeDataRedistribute' => [ 'summary' => 'Resumes data redistribution.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '214945', 'abilityTreeNodes' => ['FEATUREgpdbGMSZYK'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'title' => 'ResumeDataRedistribute', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResumeDataRedistribute'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ResumeDataRedistribute', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ResumeInstance' => [ 'summary' => 'Resumes an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeNodes' => ['FEATUREgpdb84D3HZ'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '34b32a0a-08ef-4a87-b6be-cdd9********', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **false**: The request failed.'."\n" .'* **true**: The request was successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'ErrorMessage' => ['description' => 'The error message returned.'."\n" ."\n" .'This parameter is returned only if **false** is returned for the **Status** parameter.'."\n", 'type' => 'string', 'example' => '******', 'title' => ''], 'DBInstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34b32a0a-08ef-4a87-b6be-cdd9********\\",\\n \\"Status\\": true,\\n \\"ErrorMessage\\": \\"******\\",\\n \\"DBInstanceId\\": \\"gp-bp12ga6v69h86****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 34b32a0a-08ef-4a87-b6be-cdd9********\\n true\\n gp-bp12ga6v69h86****\\n","errorExample":""}]', 'title' => 'ResumeInstance', 'description' => 'You can call this operation to resume an AnalyticDB for PostgreSQL instance that is in the **Paused** state.'."\n" ."\n" .'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~~).'."\n" ."\n" .'> 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).'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', 'changeSet' => [ ['createdAt' => '2022-08-03T11:08:51.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-07-26T12:31:39.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ResumeInstance'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ResumeInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'ResumeSaasService' => [ 'summary' => '', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ServiceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'description' => '', 'example' => 'agdb-xxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ServiceId' => ['type' => 'string', 'description' => '', 'example' => 'drama-123456', 'title' => ''], 'RequestId' => ['type' => 'string', 'title' => '', 'description' => '', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521'], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '', 'description' => '删除模型服务。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ServiceId\\": \\"drama-123456\\",\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', ], 'ResumeSupabaseProject' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The instance ID of the Supabase instance.', 'type' => 'string', 'required' => true, 'example' => 'sbp-1****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Resume a paused supabase instance', 'summary' => 'Resumes a Supabase instance.', 'description' => 'Queries the details of a Supabase instance.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ResumeSupabaseProject', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'SetAsDefaultBranch' => [ 'summary' => 'Sets the default branch for a Supabase project.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID. This parameter is required when you create a primary branch. When you create a sub-branch, this parameter inherits the region of the primary branch by default.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The ID of the Supabase project that corresponds to the primary branch.', 'type' => 'string', 'required' => true, 'example' => 'spb-xxxx', 'title' => ''], ], [ 'name' => 'BranchId', 'in' => 'query', 'schema' => ['description' => 'The branch ID that uniquely identifies a Supabase branch.', 'type' => 'string', 'required' => true, 'example' => 'br-xxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D****', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Set default branch', 'description' => 'Sets a specified branch as the default branch for a Supabase project.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D****\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'SetDBInstancePlanStatus' => [ 'summary' => 'Enables or disables a plan for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdb8RQNLF'], ], 'parameters' => [ [ 'name' => 'PlanId', 'in' => 'query', 'schema' => ['description' => 'The ID of the plan.'."\n" ."\n" .'> You can call the [DescribeDBInstancePlans](~~449398~~) operation to query the details of plans, including plan IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => '1234', 'pattern' => '^\\d+$', 'title' => ''], ], [ 'name' => 'PlanStatus', 'in' => 'query', 'schema' => [ 'description' => 'Specifies whether to enable or disable the plan. Valid values:'."\n" ."\n" .'* **disable**: disables the plan.'."\n" .'* **enable**: enables the plan.'."\n", 'type' => 'string', 'required' => true, 'example' => 'disable', 'enum' => ['enable', 'disable'], 'title' => '', ], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The state of the operation.'."\n" ."\n" .'If the operation is successful, **success** is returned. If the operation fails, this parameter is not returned.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'ErrorMessage' => ['description' => 'The error message returned.'."\n" ."\n" .'This parameter is returned only when the operation fails.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], 'PlanId' => ['description' => 'The ID of the plan.'."\n", 'type' => 'string', 'example' => '1234', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '34b32a0a-08ef-4a87-b6be-cdd988888888', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"success\\",\\n \\"ErrorMessage\\": \\"****\\",\\n \\"PlanId\\": \\"1234\\",\\n \\"RequestId\\": \\"34b32a0a-08ef-4a87-b6be-cdd988888888\\"\\n}","errorExample":""},{"type":"xml","example":"\\n success\\n 1234\\n 34b32a0a-08ef-4a87-b6be-cdd988888888\\n","errorExample":""}]', 'title' => 'SetDBInstancePlanStatus', 'changeSet' => [ ['createdAt' => '2022-08-25T13:00:47.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SetDBInstancePlanStatus'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:SetDBInstancePlanStatus', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], ], 'description' => '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.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', ], 'SetDataShareInstance' => [ 'summary' => 'Add or remove an AnalyticDB for PostgreSQL instance from data sharing.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '119475', 'abilityTreeNodes' => ['FEATUREgpdbZCLM02'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The ID of the region.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'OperationType', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable or disable data sharing. Valid values:'."\n" ."\n" .'* **add**: enables data sharing.'."\n" .'* **remove**: disables data sharing.'."\n", 'type' => 'string', 'required' => true, 'example' => 'add', 'title' => ''], ], [ 'name' => 'InstanceList', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The ID of the AnalyticDB for PostgreSQL instance in Serverless mode.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'array', 'items' => ['description' => 'Instance ID of a Serverless instance.'."\n" ."\n" .'> You can invoke the [DescribeDBInstances](~~86911~~) API to view details of all AnalyticDB for PostgreSQL instances in the destination region, including their instance IDs.', 'type' => 'string', 'required' => false, 'example' => 'gp-bp***************', 'title' => ''], 'required' => true, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D5**********', 'title' => ''], 'Status' => ['description' => 'The state of the operation. Valid values:'."\n" ."\n" .'* **success**: The operation is successful.'."\n" .'* **failed**: The operation fails.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'ErrMessage' => ['description' => 'The error message returned if the operation fails.'."\n", 'type' => 'string', 'example' => 'error message', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D5**********\\",\\n \\"Status\\": \\"success\\",\\n \\"ErrMessage\\": \\"error message\\"\\n}","type":"json"}]', 'title' => 'Add or remove an instance from data sharing', 'description' => 'Only Serverless instances support the data sharing feature.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetDataShareInstance'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:SetDataShareInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'SwitchDBInstanceNetType' => [ 'summary' => 'Switches between the internal and public endpoints of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbFBNS5O'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~2361776~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.', 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'ConnectionStringPrefix', 'in' => 'query', 'schema' => ['description' => 'The prefix of the custom endpoint.'."\n" ."\n" .'* The prefix can contain lowercase letters, digits, and hyphens (-) and must start with a lowercase letter.'."\n" .'* The prefix can be up to 30 characters in length.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'Port', 'in' => 'query', 'schema' => ['description' => 'The port number.'."\n", 'type' => 'string', 'required' => true, 'example' => '5432', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'FA67B751-2A2D-470C-850B-D6B93699D35C', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FA67B751-2A2D-470C-850B-D6B93699D35C\\"\\n}","type":"json"}]', 'title' => 'SwitchDBInstanceNetType', 'description' => 'This operation is not supported for AnalyticDB for PostgreSQL instances in elastic storage mode or Serverless mode.'."\n", 'changeSet' => [ ['createdAt' => '2024-01-04T08:20:51.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchDBInstanceNetType'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:SwitchDBInstanceNetType', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'TagResources' => [ 'summary' => 'Create and attach tags.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNTP4BF'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The ID of the region. You can call the [DescribeRegions](~~86912~~) operation to query region IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['description' => 'The mode of the instance. Valid values:'."\n" ."\n" .'* `instance`: reserved storage mode'."\n" .'* `ALIYUN::GPDB::INSTANCE`: elastic storage mode'."\n", 'type' => 'string', 'required' => true, 'example' => 'instance', 'title' => ''], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The ID of an instance. Valid values of N: 1 to 50.', 'type' => 'array', 'items' => ['description' => 'The ID of the Nth instance.'."\n" ."\n" .'> You can invoke the [DescribeDBInstances](~~86911~~) API to view details of all AnalyticDB for PostgreSQL instances in the destination region, including their instance IDs.', 'type' => 'string', 'required' => false, 'example' => 'gp-bp***************', 'title' => ''], 'required' => true, 'example' => 'gp-xxxxxxxxxx', 'maxItems' => 51, 'title' => '', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The list of tags.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The key of a tag. Valid values of N: 1 to 20. This parameter value cannot be an empty string. A tag key can contain a maximum of 128 characters. It cannot start with `aliyun` or` acs: ` and cannot contain `http://` or` https:// `.'."\n", 'type' => 'string', 'required' => true, 'example' => 'TestKey', 'title' => ''], 'Value' => ['description' => 'The value of a tag. Valid values of N: 1 to 20. This parameter value can be an empty string. A tag value can contain a maximum of 128 characters. It cannot start with `acs:` and cannot contain `http://` or `https://`.'."\n", 'type' => 'string', 'required' => true, 'example' => 'TestValue', 'title' => ''], ], 'required' => false, 'description' => '', 'title' => '', 'example' => '', ], 'required' => true, 'maxItems' => 21, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5414A4E5-4C36-4461-95FC-23**********', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The Tags parameter number is exceed , Valid : 20', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5414A4E5-4C36-4461-95FC-23**********\\"\\n}","type":"json"}]', 'title' => 'Create and attach tags', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2023-09-18T06:15:31.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-09-22T09:59:38.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:TagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'TagSupabaseProject' => [ 'summary' => 'Tags a Supabase project.', 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNTP4BF'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID. You can call the [DescribeRegions](~~86912~~) operation to query available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['description' => 'The resource type. Set the value to `instance`.', 'type' => 'string', 'required' => false, 'example' => 'instance', 'title' => ''], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The Nth instance. Valid values of N: 1 to 50.', 'type' => 'array', 'items' => ['description' => 'The Nth instance. Valid values of N: 1 to 50.', 'type' => 'string', 'required' => false, 'example' => 'gp-2zev51nt17074****', 'title' => ''], 'required' => false, 'maxItems' => 100, 'title' => '', 'example' => '', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The Nth tag. Valid values of N: 1 to 20.', 'type' => 'array', 'items' => [ 'description' => 'The Nth tag. Valid values of N: 1 to 20.', 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The tag key. This parameter cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'test-key', 'title' => ''], 'Value' => ['description' => 'The tag value. This parameter can be an empty string. The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'test-value', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'maxItems' => 100, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'B4CAF581-2AC7-41AD-8940-D56DF7AADF5B'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Bind supabase project tags', 'description' => 'Queries the details of a Supabase instance.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:TagSupabaseProject', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B4CAF581-2AC7-41AD-8940-D56DF7AADF5B\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'TextEmbedding' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeCode' => '241092', 'abilityTreeNodes' => ['FEATUREgpdb95T353'], 'autoTest' => false, 'notSupportAutoTestReason' => '数据类API,自动化测试中,无法通过RAM验证(POP仅会返回200)', ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Model', 'in' => 'formData', 'schema' => ['description' => 'The embedding model. Valid values:'."\n" .'- text-embedding-v1: 1536 dimensions'."\n" .'- text-embedding-v2: 1536 dimensions'."\n" .'- text-embedding-v3 (default): 1024, 768, or 512 dimensions'."\n" .'- text2vec (not recommended): 1024 dimensions'."\n" .'- m3e-base (not recommended): 768 dimensions'."\n" .'- m3e-small (not recommended): 512 dimensions', 'type' => 'string', 'required' => false, 'example' => 'text-embedding-v3', 'title' => ''], ], [ 'name' => 'Input', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => 'The list of text content to vectorize. The list can contain up to 100 entries.', 'type' => 'array', 'items' => ['description' => 'The text content to vectorize. The length cannot exceed 2048 tokens.', 'type' => 'string', 'required' => false, 'example' => 'ADBPG是什么?', 'title' => ''], 'required' => true, 'docRequired' => true, 'example' => 'What is ADBPG?', 'title' => '', ], ], [ 'name' => 'Dimension', 'in' => 'query', 'schema' => ['description' => 'The vector dimensions. Default value: the dimensions supported by the embedding model.'."\n" ."\n" .'> '."\n" .'> - text-embedding-v3 supports 1024, 768, and 512 dimensions. Default value: 1024.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1024', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The message details.', 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Status' => ['description' => 'The API execution status. Valid values:'."\n" .'- **success**: The execution is successful.'."\n" .'- **fail**: The execution failed.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'TextTokens' => ['description' => 'The total number of tokens consumed.', 'type' => 'integer', 'format' => 'int32', 'example' => '1000', 'title' => ''], 'Results' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Results' => [ 'description' => 'The list of embedding results.', 'type' => 'array', 'items' => [ 'description' => 'The result details.', 'type' => 'object', 'properties' => [ 'Embedding' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Embedding' => [ 'description' => 'The list of embedding values.', 'type' => 'array', 'items' => ['description' => 'The embedding value.', 'type' => 'number', 'format' => 'double', 'example' => '0.1234', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'Index' => ['description' => 'The index of this embedding in the Input request parameter, starting from 0.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Text embedding', 'summary' => 'Vectorizes text documents by using a model.', 'changeSet' => [ ['createdAt' => '2025-05-29T16:31:29.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'gpdb:TextEmbedding', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"Successful\\",\\n \\"Status\\": \\"success\\",\\n \\"TextTokens\\": 1000,\\n \\"Results\\": {\\n \\"Results\\": [\\n {\\n \\"Embedding\\": {\\n \\"Embedding\\": [\\n 0.1234\\n ]\\n },\\n \\"Index\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]', 'translator' => 'machine', ], 'UnbindDBResourceGroupWithRole' => [ 'summary' => 'Unbinds database roles from a resource group.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '203853', 'abilityTreeNodes' => ['FEATUREgpdbGDXMO2'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'ResourceGroupName', 'in' => 'query', 'schema' => ['description' => 'The name of the resource group.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testgroup', 'title' => ''], ], [ 'name' => 'RoleList', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => 'The roles.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the role.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testrole', 'title' => ''], 'required' => true, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'title' => 'UnbindDBResourceGroupWithRole', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnbindDBResourceGroupWithRole'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:UnbindDBResourceGroupWithRole', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'UnloadSampleData' => [ 'summary' => 'Releases the sample dataset from an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbPA9FLY'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a specific region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '4E42ABC3-4DBD-5343-9BCA-66B7D091311F_6914', 'title' => ''], 'Status' => ['description' => 'The execution state of the operation. Valid values:'."\n" ."\n" .'* **false**: The operation fails.'."\n" .'* **true**: The operation is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'ErrorMessage' => ['description' => 'The error message returned if an error occurs. This message does not affect the execution of the operation.'."\n", 'type' => 'string', 'example' => '********', 'title' => ''], 'DBInstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4E42ABC3-4DBD-5343-9BCA-66B7D091311F_6914\\",\\n \\"Status\\": true,\\n \\"ErrorMessage\\": \\"********\\",\\n \\"DBInstanceId\\": \\"gp-bp12ga6v69h86****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 4E42ABC3-4DBD-5343-9BCA-66B7D091311F_6914\\n true\\n gp-bp12ga6v69h86****\\n","errorExample":""}]', 'title' => 'UnloadSampleData', 'description' => 'You can call this operation to release a sample dataset from an AnalyticDB for PostgreSQL instance. You must have already loaded the sample dataset.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UnloadSampleData'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:UnloadSampleData', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'UntagResources' => [ 'summary' => 'Removes tags from AnalyticDB for PostgreSQL instances. If the tags that you remove are not added to other instances, the tags are automatically deleted.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNTP4BF'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID, you can view available region IDs through the [DescribeRegions](~~86912~~) interface.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['description' => 'Resource type. The value range is:'."\n" .'- `instance`: Reserved mode instance.'."\n" .'- `ALIYUN::GPDB::INSTANCE`: Elastic mode instance.', 'type' => 'string', 'required' => true, 'example' => 'instance', 'title' => ''], ], [ 'name' => 'All', 'in' => 'query', 'schema' => ['description' => 'Whether to untag all tags on the instance. This parameter is only effective when TagKey.N is not set in the request. The value range is:'."\n" ."\n" .'- true'."\n" .'- false'."\n" ."\n" .'Default value: false', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false', 'title' => ''], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'Instance ID. N\'s value range: 1~50', 'type' => 'array', 'items' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => false, 'example' => 'gp-j6cdjo680513l****', 'title' => ''], 'required' => true, 'maxItems' => 51, 'title' => '', 'example' => '', ], ], [ 'name' => 'TagKey', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'Resource tag key. N\'s value range: 1~20', 'type' => 'array', 'items' => ['description' => 'Resource tag key.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''], 'required' => false, 'maxItems' => 21, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '5414A4E5-4C36-4461-95FC-23757A20B5F8', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5414A4E5-4C36-4461-95FC-23757A20B5F8\\"\\n}","type":"json"}]', 'title' => 'UntagResources', 'changeSet' => [ ['createdAt' => '2022-08-24T11:48:57.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:UntagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', ], 'UntagSupabaseProject' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNTP4BF'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['description' => 'The resource type. Valid values:'."\n" .'- `instance`: reserved mode instance.'."\n" .'- `ALIYUN::GPDB::INSTANCE`: elastic mode instance.', 'type' => 'string', 'required' => false, 'example' => 'instance', 'title' => ''], ], [ 'name' => 'All', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to unbind all tags from the instance. This parameter takes effect only when TagKey.N is not specified in the request. Valid values:'."\n" ."\n" .'- true'."\n" .'- false'."\n" ."\n" .'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The instance ID. Valid values of N: 1 to 50.', 'type' => 'array', 'items' => ['description' => 'The instance ID. Valid values of N: 1 to 50.', 'type' => 'string', 'required' => false, 'example' => 'gp-2zev51nt17074****', 'title' => ''], 'required' => false, 'maxItems' => 100, 'title' => '', 'example' => '', ], ], [ 'name' => 'TagKey', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The tag key of the resource. Valid values of N: 1 to 20.', 'type' => 'array', 'items' => ['description' => 'The tag key of the resource. Valid values of N: 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''], 'required' => false, 'maxItems' => 100, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '34b32a0a-08ef-4a87-b6be-cdd9f56fc3ad'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Unbind tags from a supabase project', 'summary' => 'Unbinds tags from a Supabase instance.', 'description' => 'Queries the details of a Supabase instance.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:UntagSupabaseProject', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"34b32a0a-08ef-4a87-b6be-cdd9f56fc3ad\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'UpdateBranch' => [ 'summary' => 'Updates Supabase branch information.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '', 'abilityTreeNodes' => ['FEATUREgpdbCI2SPS'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID. This parameter is required when you create a primary branch. When you create a sub-branch, the region of the primary branch is inherited by default.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', 'schema' => ['description' => 'The Supabase project ID that corresponds to the primary branch.', 'type' => 'string', 'required' => true, 'example' => 'spb-xxxx', 'title' => ''], ], [ 'name' => 'BranchId', 'in' => 'query', 'schema' => ['description' => 'The branch ID that uniquely identifies a Supabase branch.', 'type' => 'string', 'required' => true, 'example' => 'br-xxxx', 'title' => ''], ], [ 'name' => 'BranchName', 'in' => 'query', 'schema' => ['description' => 'The branch name.', 'type' => 'string', 'required' => true, 'example' => 'dev', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The branch description.', 'type' => 'string', 'required' => false, 'example' => 'test branch', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The list of branch tags.', 'type' => 'array', 'items' => [ 'description' => 'The tag object, which contains the tag key and tag value.', 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'env', 'title' => ''], 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'dev', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'maxItems' => 21, 'title' => '', 'example' => '', ], ], [ 'name' => 'Protected', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable branch protection.'."\n" ."\n" .'Valid values:'."\n" .'- true: Branch protection is enabled.'."\n" .'- false: Branch protection is disabled. This is the default value.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''], ], [ 'name' => 'ExpiresAt', 'in' => 'query', 'schema' => ['description' => 'The time when the branch automatically expires and is deleted. The value is in ISO 8601 UTC format.', 'type' => 'string', 'required' => false, 'example' => '2026-10-08T09:11:12Z', 'title' => ''], ], [ 'name' => 'ClearExpiresAt', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to clear the branch expiration time.'."\n" ."\n" .'Valid values:'."\n" .'- true: Clears ExpiresAt.'."\n" .'- false: Does not clear ExpiresAt.'."\n" ."\n" .'If this parameter is not specified, the existing expiration time remains unchanged.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D****', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Update a branch', 'description' => 'This operation modifies the branch name, description, tags, protection status, and automatic deletion time upon expiration.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D****\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'UpdateCollectionDataMetadata' => [ 'summary' => 'Update Metadata of Collection Data', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '190731', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) API to view details of all AnalyticDB for PostgreSQL instances in the target region, including the instance ID.', 'type' => 'string', 'required' => false, 'example' => 'gp-j788ghhjjxxxx', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'Namespace.'."\n" ."\n" .'> You can use the [ListNamespaces](~~2401502~~) API to view the list.', 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'Collection name.'."\n" ."\n" .'> You can use the [ListCollections](~~2401503~~) API to view the list.', 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID where the instance is located.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'Password corresponding to the namespace.', 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Filter', 'in' => 'query', 'schema' => ['description' => 'Filter condition for the data to be updated, in SQL WHERE format. This field cannot be empty at the same time as the Ids field.', 'type' => 'string', 'required' => false, 'example' => 'business_value = \'chat_file_1\'', 'title' => ''], ], [ 'name' => 'Ids', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'ID list of the data to be updated, i.e., the Row.Id specified when uploading the data. This field cannot be empty at the same time as the Filter field.', 'type' => 'array', 'items' => ['description' => 'ID of the data to be updated.', 'type' => 'string', 'required' => false, 'example' => 'AC-2642a8744eba4c5eb7d7595d08306d15', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'Metadata', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'Data to be updated, in a JSON string of MAP format. The key is the field name, and the value is the new data value.', 'type' => 'object', 'required' => true, 'additionalProperties' => ['type' => 'any', 'description' => 'Metadata value.', 'example' => 'new title', 'title' => ''], 'example' => '{'."\n" .' "title": "new title",'."\n" .' "content": "new content"'."\n" .'}', 'title' => '', ], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'ID of the Workspace composed of multiple database instances. This parameter and the DBInstanceId parameter cannot both be empty. When both are specified, this parameter takes precedence.', 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'Detailed information when the request fails.', 'type' => 'string', 'example' => 'failed to connect database, detailMsg: getConnection fail::SQL State: 28P01, Error Code: 0, Error Message: FATAL: password', 'title' => ''], 'Status' => ['description' => 'Status, with the following values:'."\n" ."\n" .'- **success**: Success.'."\n" .'- **fail**: Failure.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'AppliedRows' => ['description' => 'Number of effective entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"failed to connect database, detailMsg: getConnection fail::SQL State: 28P01, Error Code: 0, Error Message: FATAL: password\\",\\n \\"Status\\": \\"success\\",\\n \\"AppliedRows\\": 10\\n}","type":"json"}]', 'title' => 'UpdateCollectionDataMetadata', 'changeSet' => [ ['createdAt' => '2024-08-04T13:55:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-12-06T11:08:13.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCollectionDataMetadata'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:UpdateCollectionDataMetadata', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'UpdateDBInstancePlan' => [ 'summary' => 'Modifies a plan for an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdb0DT1KA'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'PlanName', 'in' => 'query', 'schema' => ['description' => 'The name of the plan.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test-plan', 'title' => ''], ], [ 'name' => 'PlanDesc', 'in' => 'query', 'schema' => ['description' => 'The description of the plan.'."\n", 'type' => 'string', 'required' => false, 'example' => 'this is a test plan', 'title' => ''], ], [ 'name' => 'PlanStartDate', 'in' => 'query', 'schema' => ['description' => 'The start time of the plan. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC.'."\n" ."\n" .'> '."\n" ."\n" .'* This parameter must be specified only for **periodically executed** plans.'."\n" ."\n" .'* If you do not specify this parameter, the current time is used.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-04-17T23:00Z', 'title' => ''], ], [ 'name' => 'PlanEndDate', 'in' => 'query', 'schema' => ['description' => 'The end time of the plan. Specify the time in the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time must be in UTC. The end time must be later than the start time.'."\n" ."\n" .'> '."\n" ."\n" .'* This parameter must be specified only for **periodically executed** plans.'."\n" ."\n" .'* If you do not specify this parameter, the plan stops until the plan is deleted.'."\n", 'type' => 'string', 'required' => false, 'example' => '2023-04-17T23:00Z', 'title' => ''], ], [ 'name' => 'PlanConfig', 'in' => 'query', 'schema' => ['description' => 'The execution information of the plan. Specify the parameter in the JSON format. The parameter value varies based on the values of **PlanType** and **PlanScheduleType**. The following section describes the PlanConfig parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => '{"pause":{"executeTime":"2022-08-30T16:00:00Z"}}', 'title' => ''], ], [ 'name' => 'PlanId', 'in' => 'query', 'schema' => ['description' => 'The ID of the plan.'."\n" ."\n" .'> You can call the [DescribeDBInstancePlans](~~449398~~) operation to query the details of plans, including plan IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => '1234', 'pattern' => '^\\d+$', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '34b32a0a-08ef-4a87-b6be-cdd9f56fc3ad', 'title' => ''], 'Status' => ['description' => 'The state of the operation.'."\n" ."\n" .'If the operation is successful, **success** is returned. If the operation fails, this parameter is not returned.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'ErrorMessage' => ['description' => 'The error message returned.'."\n" ."\n" .'This parameter is returned only when the operation fails.'."\n", 'type' => 'string', 'example' => '****', 'title' => ''], 'DBInstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], 'PlanId' => ['description' => 'The ID of the plan.'."\n", 'type' => 'string', 'example' => '1234', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"34b32a0a-08ef-4a87-b6be-cdd9f56fc3ad\\",\\n \\"Status\\": \\"success\\",\\n \\"ErrorMessage\\": \\"****\\",\\n \\"DBInstanceId\\": \\"gp-bp12ga6v69h86****\\",\\n \\"PlanId\\": \\"1234\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 34b32a0a-08ef-4a87-b6be-cdd9f56fc3ad\\n success\\n gp-bp12ga6v69h86****\\n 1234\\n","errorExample":""}]', 'title' => 'UpdateDBInstancePlan', 'description' => '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.'."\n" ."\n" .'## Limits'."\n" ."\n" .'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.', 'requestParamsDescription' => '## Description of the PlanConfig parameter'."\n" ."\n" .'When the plan task is to pause or resume the instance:'."\n" ."\n" .'* If the plan is executed later, you must specify the point in time to pause or resume the instance. **pause**: pauses the instance. **resume**: resumes the instance. **executeTime**: the point in time to pause or resume the instance. The time must be in UTC. Examples:'."\n" ."\n" .' * Pause the instance: `{"pause":{"executeTime":"2022-08-30T16:00:00Z"}}`'."\n" .' * Resume the instance: `{"resume":{"executeTime":"2022-08-30T16:00:00Z"}}`'."\n" ."\n" .'* If the plan is executed periodically, you must specify the point in time to periodically pause and resume the instance. **pause**: pauses the instance. **resume**: resumes the instance. **planCronTime**: the point in time to periodically pause and resume the instance. The time must be in the cron expression format in UTC. Example: `{"pause":{"planCronTime":"0 0 12 1/1 * ? "},"resume":{"planCronTime":"0 0 0 1/1 * ? "}}`.'."\n" ."\n" .'When the plan task is to scale out or scale in the instance:'."\n" ."\n" .'* If the plan is executed later, you must specify the point in time to scale out or scale in the instance and the number of desired nodes. **scaleOut**: scales out the instance. **scaleIn**: scales in the instance. **executeTime**: the point in time to scale out or scale in the instance. The time must be in UTC. **segmentNodeNum**: the number of desired nodes. Examples:'."\n" ."\n" .' * Scale out the instance: `{"scaleOut":{"executeTime":"2022-08-30T16:00:00Z","segmentNodeNum":4}}`'."\n" .' * Scale in the instance: `{"scaleIn":{"executeTime":"2022-08-30T16:00:00Z","segmentNodeNum":2}}`'."\n" ."\n" .'* If the plan is executed periodically, you must specify the point in time to periodically scale out and scale in the instance and the number of desired nodes. **scaleOut**: scales out the instance. **scaleIn**: scales in the instance. **planCronTime**: the point in time to periodically scale out and scale in the instance. The time must be in the cron expression format in UTC. **segmentNodeNum**: the number of desired nodes. Example: `{"scaleIn":{"segmentNodeNum":2,"planCronTime":"0 0 12 1/1 * ? "},"scaleOut":{"segmentNodeNum":4,"planCronTime":"0 0 0 1/1 * ? "}}`.'."\n" ."\n" .'> For more information about cron expressions, see [Cron expression](~~64769~~).'."\n", 'changeSet' => [ ['createdAt' => '2022-08-25T13:00:47.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateDBInstancePlan'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:UpdateDBInstancePlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], ], ], 'UpgradeDBInstance' => [ 'summary' => 'Changes the specifications of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeNodes' => ['FEATUREgpdbY9VVTW'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'The ID of the resource group to which the instance belongs. For information about how to obtain the resource group ID, see [View basic information of a resource group](~~151181~~).', 'type' => 'string', 'required' => false, 'example' => 'rg-bp67acfmxazb4p****', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query available region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceClass', 'in' => 'query', 'schema' => ['description' => 'This parameter is deprecated. You do not need to specify this parameter.', 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], [ 'name' => 'DBInstanceGroupCount', 'in' => 'query', 'schema' => ['description' => 'This parameter is deprecated. You do not need to specify this parameter.', 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the IDs of all AnalyticDB for PostgreSQL instances in the specified region.', 'type' => 'string', 'required' => true, 'example' => 'gp-rj***************', 'title' => ''], ], [ 'name' => 'PayType', 'in' => 'query', 'schema' => ['description' => 'This parameter is deprecated. You do not need to specify this parameter.', 'type' => 'string', 'required' => false, 'default' => 'Postpaid', 'example' => 'null', 'title' => ''], ], [ 'name' => 'MasterNodeNum', 'in' => 'query', 'schema' => ['description' => 'This parameter is deprecated. You do not need to specify this parameter.', 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], [ 'name' => 'SegNodeNum', 'in' => 'query', 'schema' => ['description' => 'The number of segment nodes. The supported number of nodes varies based on the instance resource type and instance edition:'."\n" ."\n" .'- Elastic storage mode, High-availability Edition: Valid values: 4 to 512. The value must be a multiple of 4.'."\n" .'- Elastic storage mode, Basic Edition (formerly High-performance Edition)High-performance Edition: Valid values: 2 to 512. The value must be a multiple of 2.'."\n" .'- Serverless manual scheduling mode: Valid values: 2 to 512. The value must be a multiple of 2.', 'type' => 'string', 'required' => false, 'example' => '2', 'title' => ''], ], [ 'name' => 'InstanceSpec', 'in' => 'query', 'schema' => ['description' => 'The specifications of segment nodes. For information about supported node specifications, see [Instance specifications](~~35406~~).'."\n" ."\n" .'> This parameter is supported only for elastic storage mode instances.', 'type' => 'string', 'required' => false, 'example' => '4C16G', 'title' => ''], ], [ 'name' => 'StorageSize', 'in' => 'query', 'schema' => ['description' => 'The storage capacity of segment nodes. Unit: GB. Valid values: 50 to 80006000. The value must be a multiple of 50.'."\n" ."\n" .'> This parameter is supported only for elastic storage mode instances.', 'type' => 'string', 'required' => false, 'example' => '100', 'title' => ''], ], [ 'name' => 'SegDiskPerformanceLevel', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => [ 'description' => 'The performance level (PL) of the cloud disk. Valid values:'."\n" ."\n" .'- **pl0**: PL0.'."\n" .'- **pl1**: PL1.'."\n" .'- **pl2**: PL2.', 'type' => 'string', 'enum' => ['pl0', 'pl1', 'pl2'], 'required' => false, 'example' => 'pl1', 'title' => '', ], ], [ 'name' => 'SegStorageType', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => [ 'description' => 'The cloud disk storage type after the change. Currently, only ESSD cloud disks are supported. Set the value to **cloud_essd**.', 'type' => 'string', 'enum' => ['cloud_essd', 'cloud_efficiency'], 'required' => false, 'example' => 'cloud_essd', 'title' => '', ], ], [ 'name' => 'UpgradeType', 'in' => 'query', 'schema' => ['description' => 'The type of the specification change. Valid values:'."\n" ."\n" .'- **0** (default): Changes the number of segment nodes. SegNodeNum is required. Other parameters do not take effect.'."\n" .'- **1**: Changes the segment node specifications and instance storage capacity. InstanceSpec is required. StorageSize is optional and must be greater than or equal to the current instance storage capacity.'."\n" .'- **2**: Changes the number of master nodes. MasterNodeNum is required. Other parameters do not take effect.'."\n" .'- **3**: Changes the cloud disk storage type and performance level (PL). SegDiskPerformanceLevel and SegStorageType are required. Other parameters do not take effect.'."\n" ."\n" .'> - Different instance resource types support different Upgrade/Downgrade operations for compute nodes. For more information, see [Precautions](~~50956~~).'."\n" .'- After you select a specification change type, only the corresponding parameters take effect. Other parameters do not take effect. For example, if **UpgradeType** is set to 0 and you specify both the number of segment nodes and the number of master nodes, only the number of segment nodes is changed.'."\n" .'- Changing the number of master nodes is supported only on the China site (aliyun.com).'."\n" .'- You can change the cloud disk storage type only from standard SSD to ESSD cloud disk.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'title' => ''], ], [ 'name' => 'ServerlessResource', 'in' => 'query', 'schema' => ['description' => '- Serverless instances:'."\n" .'The compute resource threshold. Valid values: 8 to 32. The value must be a multiple of 8. Unit: ACU. Default value: 32.'."\n" ."\n" .'- Serverless Pro instances: The reserved compute resources. Valid values: 16 to 1024. Unit: ACU. Default value: 16. The step size varies based on the value range:'."\n" .' - 16 to 32: step size of 4.'."\n" .' - 32 to 64: step size of 8.'."\n" .' - 64 to 128: step size of 16.'."\n" .' - 128 to 256: step size of 32.'."\n" .' - Greater than 256: step size of 64.'."\n" .'> This parameter is required only for Serverless automatic scheduling mode and Serverless Pro instances.', 'type' => 'string', 'required' => false, 'example' => '16', 'title' => ''], ], [ 'name' => 'CacheStorageSize', 'in' => 'query', 'schema' => ['description' => 'The Serverless cache storage capacity. Unit: GB.'."\n" .'> This parameter is required only for Serverless Pro instances.', 'type' => 'string', 'required' => false, 'example' => '800', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '25C11EE5-B7E8-481A-A07C-BD**********', 'title' => ''], 'DBInstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'gp-rj***************', 'title' => ''], 'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'example' => '*********', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"25C11EE5-B7E8-481A-A07C-BD**********\\",\\n \\"DBInstanceId\\": \\"gp-rj***************\\",\\n \\"OrderId\\": \\"*********\\"\\n}","type":"json"}]', 'title' => 'Change instance specifications', 'description' => 'This operation does not support instances in storage reservation mode.'."\n" ."\n" .'Before you call this operation, make sure that you fully understand the [billing methods](~~35406~~) and [pricing](https://www.aliyun.com/price/product#/gpdb/detail/GreenplumPost)[pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing) of AnalyticDB for PostgreSQL.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2025-05-29T16:37:12.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-08-04T08:17:03.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-08-30T08:34:45.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-04-27T12:33:36.000Z', 'description' => 'Request parameters changed, Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpgradeDBInstance'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:UpgradeDBInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'UpgradeDBVersion' => [ 'summary' => 'Upgrades the minor version of an AnalyticDB for PostgreSQL instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbNN784S'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-wz9kmr708m155j***', 'title' => ''], ], [ 'name' => 'MinorVersion', 'in' => 'query', 'schema' => ['description' => 'The minor version of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => '6.3.6.1-202112012048', 'title' => ''], ], [ 'name' => 'MajorVersion', 'in' => 'query', 'schema' => ['description' => 'This parameter is no longer used and does not need to be specified.'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], [ 'name' => 'SwitchTimeMode', 'in' => 'query', 'schema' => ['description' => 'This parameter is no longer used and does not need to be specified.'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'default' => 'Postpaid', 'title' => ''], ], [ 'name' => 'SwitchTime', 'in' => 'query', 'schema' => ['description' => 'This parameter is no longer used and does not need to be specified.'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'TaskId' => ['description' => 'The ID of the task.'."\n", 'type' => 'string', 'example' => '101450956', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '25C11EE5-B7E8-481A-A07C-BD619971A570', 'title' => ''], 'DBInstanceId' => ['description' => 'This parameter is no longer returned.'."\n", 'type' => 'string', 'example' => 'null', 'title' => ''], 'DBInstanceName' => ['description' => 'The name of the instance.'."\n", 'type' => 'string', 'example' => 'gp-wz9kmr708m155j***', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"TaskId\\": \\"101450956\\",\\n \\"RequestId\\": \\"25C11EE5-B7E8-481A-A07C-BD619971A570\\",\\n \\"DBInstanceId\\": \\"null\\",\\n \\"DBInstanceName\\": \\"gp-wz9kmr708m155j***\\"\\n}","errorExample":""},{"type":"xml","example":"101450956\\n25C11EE5-B7E8-481A-A07C-BD619971A570\\ngp-wz9kmr708m155j***\\ngp-wz9kmr708m155j***","errorExample":""}]', 'title' => 'UpgradeDBVersion', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpgradeDBVersion'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:UpgradeDBVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], ], 'UpgradeExtensions' => [ 'summary' => 'Updates extensions.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '214907', 'abilityTreeNodes' => ['FEATUREgpdbQ0N7UN'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Extensions', 'in' => 'query', 'schema' => ['description' => 'The extensions that you want to update. Separate multiple extensions with commas (,).'."\n", 'type' => 'string', 'required' => true, 'example' => 'citext,dblink', 'title' => ''], ], [ 'name' => 'DatabaseName', 'in' => 'query', 'schema' => ['description' => 'Database name.', 'type' => 'string', 'required' => false, 'example' => 'test01', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\"\\n}","type":"json"}]', 'title' => 'UpgradeExtensions', 'changeSet' => [ ['createdAt' => '2024-09-26T16:26:28.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpgradeExtensions'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:UpgradeExtensions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'UploadDocumentAsync' => [ 'summary' => 'Asynchronously uploads a document.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance that has vector engine optimization enabled. You can call the [DescribeDBInstances](~~86911~~) operation to query the details of all AnalyticDB for PostgreSQL instances in the target region, including instance IDs.', 'type' => 'string', 'required' => true, 'example' => 'gp-bp12ga6v69h86****', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'formData', 'schema' => ['description' => 'The name of the document collection.'."\n" .'>Created by the [CreateDocumentCollection](~~2618448~~) operation. You can call the [ListDocumentCollections](~~2618452~~) operation to query the created document collections.', 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'formData', 'schema' => ['description' => 'The namespace. Default value: public. You can call the CreateNamespace operation to create a namespace and call the ListNamespaces operation to query the list of namespaces.', 'type' => 'string', 'default' => 'public', 'required' => false, 'example' => 'mynamespace', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'formData', 'schema' => ['description' => 'The password of the namespace. The value is specified by the CreateNamespace operation.', 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'FileName', 'in' => 'formData', 'schema' => ['description' => 'The file name of the document.'."\n" ."\n" .'>* The file name must include file name extension, such as .json, .md, or .pdf.'."\n" .'>* Supported image file extensions include .bmp, .jpg, .jpeg, .png, and .tiff.'."\n" .'>* You can upload images by using an archive. The archive file name must include file name extension. Supported archive extensions include .tar, .gz, and .zip.', 'type' => 'string', 'required' => true, 'example' => 'mydoc.txt', 'title' => ''], ], [ 'name' => 'FileUrl', 'in' => 'formData', 'schema' => ['description' => 'The publicly accessible URL of the document.'."\n" .'> Use the SDK to call this operation. The SDK provides a method named UploadDocumentAsyncAdvance that allows you to directly upload local files.'."\n" .'If the URL points to an image archive, the number of images in the archive cannot exceed 100.'."\n" ."\n" .'>'."\n" .'The maximum size of an image uploaded by using multimodal-embedding-v1 is 3 MB.'."\n" .'>', 'type' => 'string', 'required' => true, 'isFileTransferUrl' => true, 'example' => 'https://xx/mydoc.txt', 'title' => ''], ], [ 'name' => 'Metadata', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => 'The metadata. The value of this parameter must be the same as the Metadata parameter specified when you call the CreateDocumentCollection operation.', 'type' => 'object', 'required' => false, 'additionalProperties' => ['description' => 'The metadata information. The value must be the same as the Metadata parameter specified when you call the CreateDocumentCollection operation.', 'type' => 'any', 'example' => '{"title":"mytitle","page":1}', 'title' => ''], 'title' => '', 'example' => '', ], ], [ 'name' => 'ChunkSize', 'in' => 'formData', 'schema' => ['description' => 'The strategy for processing large data: the size of each chunk when data is split into smaller parts. Maximum value: 2048.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '250', 'title' => ''], ], [ 'name' => 'ChunkOverlap', 'in' => 'formData', 'schema' => ['description' => 'The size of overlapping data between consecutive chunks. The maximum value of this parameter cannot be greater than the value of the ChunkSize parameter.'."\n" .'> This parameter prevents context loss caused by data truncation. For example, when you upload long text, you can retain specific overlapping text content between consecutive chunks for better context understanding.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], ], [ 'name' => 'Separators', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => 'The separators used to split large data.'."\n" .'> * This is an important parameter that determines the effectiveness of data chunking. This parameter is related to the splitter specified by the TextSplitterName parameter.'."\n" .'>* In most cases, you do not need to specify this parameter. The server assigns separators based on the value of the TextSplitterName parameter.', 'type' => 'array', 'items' => ['description' => 'The separator.', 'type' => 'string', 'required' => false, 'example' => '.', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'DryRun', 'in' => 'formData', 'schema' => ['description' => 'Specifies whether to perform only document understanding and chunking without vectorization and storage. Default value: false.'."\n" ."\n" .'> You can set this parameter to true to check the chunking results and then optimize as needed.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'ZhTitleEnhance', 'in' => 'formData', 'schema' => ['description' => 'Specifies whether to enable title enhancement.'."\n" .'>You can identify the title text, mark the text in the metadata, and then combine the text with the upper-level title for text enhancement.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'TextSplitterName', 'in' => 'formData', 'schema' => ['description' => 'The name of the text splitter. Valid values:'."\n" .'* **ChineseRecursiveTextSplitter**: inherits from RecursiveCharacterTextSplitter and uses `["'."\n" ."\n" .'","'."\n" .'", "。|!|?", "\\.\\s|\\!\\s|\\?\\s", ";|;\\s", ",|,\\s"]` as the default separators with regular expression matching.'."\n" .'* **RecursiveCharacterTextSplitter**: uses `["'."\n" ."\n" .'", "'."\n" .'", " ", ""]` as the default separators. This splitter supports splitting code in languages such as C++, Go, Java, JS, PHP, Proto, Python, RST, Ruby, Rust, Scala, Swift, Markdown, LaTeX, HTML, Sol, and C Sharp.'."\n" .'* **SpacyTextSplitter**: uses `'."\n" ."\n" .'` as the default separator and the spaCy en_core_web_sm model. This splitter provides better splitting results.'."\n" .'* **MarkdownHeaderTextSplitter**: splits text in the format of [("#", "head1"), ("##", "head2"), ("###", "head3"), ("####", "head4")]. This splitter is suitable for Markdown text.'."\n" .'* **LLMSplitter**: uses an LLM to split text. The default model is qwen3-8b. This splitter takes effect only when ADBPGLoader is selected as the document loader.', 'type' => 'string', 'required' => false, 'example' => 'ChineseRecursiveTextSplitter', 'title' => ''], ], [ 'name' => 'DocumentLoaderName', 'in' => 'formData', 'schema' => ['description' => 'The name of the document loader. If you do not specify this parameter, the system automatically selects the corresponding document loader based on the file name extension in the following order. Valid values:'."\n" .'* UnstructuredHTMLLoader: .html'."\n" .'* UnstructuredMarkdownLoader: .md'."\n" .'* PyMuPDFLoader: .pdf'."\n" .'* PyPDFLoader: .pdf'."\n" .'* RapidOCRPDFLoader: .pdf'."\n" .'* PDFWithImageRefLoader: .pdf (with the text-image association feature)'."\n" .'* JSONLoader: .json'."\n" .'* CSVLoader: .csv'."\n" .'* RapidOCRLoader: .png, .jpg, .jpeg, and .bmp'."\n" .'* UnstructuredFileLoader: .eml, .msg, .rst, .txt, .docx, .epub, .odt, .pptx, and .tsv'."\n" .'* ADBPGLoader (paid, first 3,000 pages free): .pdf, .doc, .docx, .ppt, .pptx, .xls, .xlsx, .xlsm, .csv, .txt, .jpg, .jpeg, .png, .bmp, .gif, .md, .html, .epub, .mobi, and .rtf', 'type' => 'string', 'required' => false, 'example' => 'PyMuPDFLoader', 'title' => ''], ], [ 'name' => 'VlEnhance', 'in' => 'formData', 'schema' => ['description' => 'Specifies whether to enable VL-enhanced content recognition for complex documents. Default value: false.'."\n" ."\n" .'> '."\n" .'> - For complex documents with disorganized layouts and formats, enable VL-enhanced content recognition.'."\n" .'> - After VL-enhanced content recognition is enabled, document processing takes longer.'."\n" .'> - After VL-enhanced content recognition is enabled, images in the document cannot be stored or recalled.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'SplitterModel', 'in' => 'formData', 'schema' => ['description' => 'The splitting model to use when DocumentLoaderName is set to ADBPGLoader and TextSplitterName is set to LLMSplitter. Default value: qwen3-8b.'."\n" .'> '."\n" .'> Currently supported splitting models:'."\n" .'> qwq-plus, qwq-plus-latest,'."\n" .'> qwen-max, qwen-max-latest,'."\n" .'> qwen-plus, qwen-plus-latest,'."\n" .'> qwen-turbo, qwen-turbo-latest,'."\n" .'> qwen3-235b-a22b, qwen3-32b, qwen3-30b-a3b,'."\n" .'> qwen3-14b, qwen3-8b, qwen3-4b, qwen3-1.7b, qwen3-0.6b,'."\n" .'> qwq-32b'."\n" .'> qwen2.5-14b-instruct-1m, qwen2.5-7b-instruct-1m'."\n" .'> qwen2.5-72b-instruct, qwen2.5-32b-instruct,'."\n" .'> qwen2.5-14b-instruct, qwen2.5-7b-instruct,'."\n" .'> qwen2.5-3b-instruct, qwen2.5-1.5b-instruct, qwen2.5-0.5b-instruct', 'type' => 'string', 'required' => false, 'example' => 'qwen3-8b', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The creation status. Valid values:'."\n" .'- success: The document was uploaded.'."\n" .'- fail: The document failed to be uploaded.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'JobId' => ['description' => 'The job ID, which is used to check the job status or cancel the job.', 'type' => 'string', 'example' => '231460f8-75dc-405e-a669-0c5204887e91', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'gpdb::2016-05-03::GetUploadDocumentJob', 'callbackInterval' => 2000, 'maxCallbackTimes' => 1000], 'title' => 'Asynchronously upload a document', 'description' => 'The server loads and splits a document based on the file name extension, performs vectorization by using the embedding model specified when you invoke the CreateDocumentCollection operation, and then writes the document to the specified document collection. This operation supports multimodal embedding of text and images in various formats.'."\n" ."\n" .'Related operations:'."\n" ."\n" .'- You can invoke the GetUploadDocumentJob operation to query the progress and result of a document upload job.'."\n" .'- You can invoke the CancelUploadDocumentJob operation to cancel a document upload job.'."\n" ."\n" .'> - After you commit a document upload request, the request is queued for processing. A maximum of 20 documents in the Pending and Running states can be processed for each Resource Access Management (RAM) user or Alibaba Cloud account.'."\n" .'>- A text document can be split into a maximum of 100,000 chunks.'."\n" .'>- If the document collection uses the OnePeace model, a maximum of 10,000 images can be uploaded and queried for each RAM user or Alibaba Cloud account.', 'changeSet' => [ ['createdAt' => '2025-08-05T13:51:13.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-07-18T15:07:15.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UploadDocumentAsync'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:UploadDocumentAsync', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"JobId\\": \\"231460f8-75dc-405e-a669-0c5204887e91\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'UpsertChunks' => [ 'summary' => 'Splits a document into chunks and uploads the vectorized chunks to a document collection.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The cluster ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the cluster.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password of the namespace.'."\n" ."\n" .'> The value of this parameter is specified when you call the [CreateNamespace](~~2401495~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace. Default value: public.'."\n" ."\n" .'> You can call the [CreateNamespace](~~2401495~~) operation to create a namespace and call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the document collection.'."\n" ."\n" .'> You can call the [CreateDocumentCollection](~~2618448~~) operation to create a document collection and call the [ListDocumentCollections](~~2618452~~) operation to query a list of document collections.'."\n", 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'FileName', 'in' => 'query', 'schema' => ['description' => 'The file name of the document.'."\n" ."\n" .'> When a non-empty filename is specified, the system will decide whether to overwrite the data associated with that filename based on the value of the ShouldReplaceFile parameter. If you leave this parameter empty, the data of chunks is appended to the document collection.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mydoc.txt', 'title' => ''], ], [ 'name' => 'ShouldReplaceFile', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to overwrite the data associated with the file name specified by the FileName parameter.'."\n" ."\n" .'If you set ShouldReplaceFile to true, the system deletes all data associated with the file name and then inserts new data.'."\n" ."\n" .'If you set ShouldReplaceFile to false, the system does not delete the data associated with the file name, but inserts or updates the data of chunks based on the TextChunks parameter.'."\n" ."\n" .'Default value: true.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true', 'title' => ''], ], [ 'name' => 'AllowInsertWithFilter', 'in' => 'query', 'schema' => ['description' => 'Based on the Filter input specified under TextChunks, this parameter controls whether data insertion is allowed when a Filter is provided.'."\n" ."\n" .'If AllowInsertWithFilter = true, the insert operation is performed when the filter does not match any data.'."\n" ."\n" .'If AllowInsertWithFilter = false, no action is performed if the filter does not match any data.'."\n" ."\n" .'Default value: true.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true', 'title' => ''], ], [ 'name' => 'TextChunks', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => 'List of document chunks after splitting.'."\n", 'type' => 'array', 'items' => [ 'description' => 'A single document object.'."\n", 'type' => 'object', 'properties' => [ 'Filter' => ['description' => 'The condition that is used to filter the data to be updated. Specify this parameter in a format that is the same as the WHERE clause.'."\n", 'type' => 'string', 'required' => false, 'example' => 'title = \'seagull\'', 'title' => ''], 'Content' => ['description' => 'The content of the document.'."\n", 'type' => 'string', 'required' => true, 'example' => 'AnalyticDB for PostgreSQL provides a simple, fast, and cost-effective PB-level cloud data warehousing solution.', 'title' => ''], 'Metadata' => ['description' => 'The metadata.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"title":"test"}', 'title' => ''], 'Id' => ['description' => 'The unique ID of the vector data.'."\n", 'type' => 'string', 'required' => false, 'example' => '273e3fc7-8f56-4167-a1bb-d35d2f3b9043', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The unique ID of the request.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The response message.'."\n", 'type' => 'string', 'example' => 'Successful', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'EmbeddingTokens' => ['description' => 'The number of tokens that are consumed during vectorization.'."\n" ."\n" .'> A token is the minimum unit for splitting text. A token can be a word, phrase, punctuation, or character.'."\n", 'type' => 'string', 'example' => '100', 'title' => ''], 'JobId' => ['description' => 'The job ID. You can use the `GetGraphRAGJob` to view the job status.'."\n" ."\n" .'> This parameter is returned only when the knowledge base is enabled.'."\n", 'type' => 'string', 'example' => '231460f8-75dc-405e-a669-0c5204887e91', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"Successful\\",\\n \\"Status\\": \\"success\\",\\n \\"EmbeddingTokens\\": \\"100\\",\\n \\"JobId\\": \\"231460f8-75dc-405e-a669-0c5204887e91\\"\\n}","type":"json"}]', 'title' => 'UpsertChunks', 'description' => 'The vector algorithm that is used for the document is specified when you call the CreateDocumentCollection operation.'."\n", 'changeSet' => [ ['createdAt' => '2025-09-10T15:09:31.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2025-06-11T15:45:24.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-05-29T16:30:39.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpsertChunks'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:UpsertChunks', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], 'UpsertCollectionData' => [ 'summary' => 'Uploads vector data to a vector collection.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182775', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-bp152460513z****', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'query', 'schema' => ['description' => 'The name of the collection.'."\n", 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace. Default value: public.'."\n" ."\n" .'> You can call the [CreateNamespace](~~2401495~~) operation to create a namespace and call the [ListNamespaces](~~2401502~~) operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'query', 'schema' => ['description' => 'The password of the namespace.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'Rows', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => 'The vector data that you want to upload.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The vector data that you want to upload.'."\n", 'type' => 'object', 'properties' => [ 'Id' => ['description' => 'The unique ID of the vector data.'."\n" ."\n" .'> If you leave this parameter empty, a unique ID is automatically generated by using uuidgen. If you specify a value that is the same as an existing ID, an updated vector data ID is used.'."\n", 'type' => 'string', 'required' => false, 'example' => '854c6949-411c-4b47-aec4-e324735f9574', 'title' => ''], 'Metadata' => [ 'description' => 'The metadata of the vector data. The key field of this parameter must be the same as the key field of Metadata that is specified when you call the [CreateCollection](~~2401497~~) operation.'."\n", 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string', 'example' => '{"title":"test title", "content": "test content"}', 'description' => 'The metadata of the vector data.'."\n", 'title' => ''], 'title' => '', 'example' => '', ], 'Vector' => [ 'description' => 'The vector data. The length of the vector data must be the same as the value of Dimension that is specified when you call the [CreateCollection](~~2401497~~) operation.'."\n", 'type' => 'array', 'items' => ['description' => 'The vector data.'."\n", 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '[1.0123,-0.1234]', 'title' => ''], 'required' => true, 'title' => '', 'example' => '', ], 'SparseVector' => [ 'description' => 'The sparse vector data.'."\n", 'type' => 'object', 'properties' => [ 'Indices' => [ 'description' => 'The indices.'."\n" ."\n" .'> The size of indices cannot exceed 4000.'."\n", 'type' => 'array', 'items' => ['description' => 'The index value.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], 'Values' => [ 'description' => 'The sparse vector values.'."\n", 'type' => 'array', 'items' => ['description' => 'The sparse vector value.'."\n", 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '1.2345', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n" ."\n" .'> You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the workspace that consists of multiple AnalyticDB for PostgreSQL instances. You must specify one of the WorkspaceId and DBInstanceId parameters. If you specify both parameters, the WorkspaceId parameter takes effect.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\"\\n}","type":"json"}]', 'title' => 'UpsertCollectionData', 'description' => '>'."\n" ."\n" .'**SDK于2023-11-8日升级,从最大512KB数据请求量升级到10MB。**'."\n" .'请使用最新版SDK或不低于此版本:'."\n" ."\n" .'- Java:1.2.1 '."\n" .'- Go:v3.3.1 '."\n" .'- Python:3.3.1'."\n" .'>', 'changeSet' => [ ['createdAt' => '2025-03-11T17:01:38.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2024-08-04T13:55:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-11-07T11:35:34.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpsertCollectionData'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:UpsertCollectionData', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], ], 'UpsertCollectionDataAsync' => [ 'summary' => 'Uploads vector data in an asynchronous manner by using an on-premises file or a password-free Internet-accessible file URL. The vector data can be up to 200 MB in size.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '208253', 'abilityTreeNodes' => ['FEATUREgpdbLNL7EM'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DBInstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n" ."\n" .'> You can call the [DescribeDBInstances](~~86911~~) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'gp-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'Namespace', 'in' => 'formData', 'schema' => ['description' => 'The name of the namespace. Default value: public.'."\n" ."\n" .'> You can call the CreateNamespace operation to create a namespace and call the ListNamespaces operation to query a list of namespaces.'."\n", 'type' => 'string', 'required' => false, 'example' => 'mynamespace', 'default' => 'public', 'title' => ''], ], [ 'name' => 'Collection', 'in' => 'formData', 'schema' => ['description' => 'The name of the collection.'."\n" ."\n" .'> You can call the [ListCollections](~~2401503~~) operation to query a list of collections.'."\n", 'type' => 'string', 'required' => true, 'example' => 'document', 'title' => ''], ], [ 'name' => 'NamespacePassword', 'in' => 'formData', 'schema' => ['description' => 'The password of the namespace.'."\n" ."\n" .'> The value of this parameter is specified when you call the CreateNamespace operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpassword', 'title' => ''], ], [ 'name' => 'FileUrl', 'in' => 'formData', 'schema' => ['description' => 'The Internet-accessible vector data file URL.'."\n" ."\n" .'> '."\n" ."\n" .'* The file content must be in the JSONL format. Each line consists of a list of JSON data, which specifies a set of vector data.'."\n" ."\n" .'* Data format of each line: `{String Id; Map Metadata; List Vector}`. Example: `{"Id":"myid", "Metadata": {"my_meta_key": "my_meta_value"}, "Vector": [1.234, -0.123]}`.'."\n" ."\n" .'* We recommend that you use SDKs to call this operation. SDKs encapsulate the UpsertCollectionDataAsyncAdvance method to upload on-premises files as data sources.'."\n", 'type' => 'string', 'required' => true, 'example' => 'https://xx/vectors.jsonl', 'isFileTransferUrl' => true, 'title' => ''], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the Workspace composed of multiple database instances. This parameter and the DBInstanceId parameter cannot both be empty. When both are specified, this parameter takes precedence.', 'type' => 'string', 'required' => false, 'example' => 'gp-ws-*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABB39CC3-4488-4857-905D-2E4A051D0521', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'Status' => ['description' => 'The status of the operation. Valid values:'."\n" ."\n" .'* **success**'."\n" .'* **fail**'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'JobId' => ['description' => 'The job ID. It can be used to query the job status or cancel the job.'."\n", 'type' => 'string', 'example' => '231460f8-75dc-405e-a669-0c5204887e91', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'gpdb::2016-05-03::GetUpsertCollectionDataJob', 'callbackInterval' => 5000, 'maxCallbackTimes' => 360], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ABB39CC3-4488-4857-905D-2E4A051D0521\\",\\n \\"Message\\": \\"success\\",\\n \\"Status\\": \\"success\\",\\n \\"JobId\\": \\"231460f8-75dc-405e-a669-0c5204887e91\\"\\n}","type":"json"}]', 'title' => 'UpsertCollectionDataAsync', 'description' => 'This operation is the asynchronous operation of `UpsertCollectionData`. The `UpsertCollectionData` operation supports up to 10 MB of data, and this operation supports up to 200 MB of data.'."\n" ."\n" .'> Related operations:'."\n" ."\n" .'* You can call the GetUpsertCollectionDataJob operation to query the progress and result of an upload job.'."\n" ."\n" .'* You can call the CancelUpsertCollectionDataJob operation to cancel an upload job.'."\n" ."\n" .'> You can upload data for the same collection only in a serial manner.'."\n", 'changeSet' => [ ['createdAt' => '2024-08-04T13:55:04.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpsertCollectionDataAsync'], ], 'product' => ['code' => 'gpdb', 'title' => '云原生数据仓库 AnalyticDB PostgreSQL版'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:UpsertCollectionDataAsync', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], ], 'translator' => 'machine', ], ], 'endpoints' => [ ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'gpdb.ap-northeast-1.aliyuncs.com', 'endpoint' => 'gpdb.ap-northeast-1.aliyuncs.com', 'vpc' => 'gpdb-vpc.ap-northeast-1.aliyuncs.com'], ['regionId' => 'ap-northeast-2', 'regionName' => 'South Korea (Seoul)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'gpdb.ap-northeast-2.aliyuncs.com', 'endpoint' => 'gpdb.ap-northeast-2.aliyuncs.com', 'vpc' => 'gpdb-vpc.ap-northeast-2.aliyuncs.com'], ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'gpdb.ap-southeast-1.aliyuncs.com', 'endpoint' => 'gpdb.ap-southeast-1.aliyuncs.com', 'vpc' => 'gpdb-vpc.ap-southeast-1.aliyuncs.com'], ['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'gpdb.ap-southeast-2.aliyuncs.com', 'endpoint' => 'gpdb.ap-southeast-2.aliyuncs.com', 'vpc' => 'gpdb-vpc.ap-southeast-2.aliyuncs.com'], ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'gpdb.ap-southeast-3.aliyuncs.com', 'endpoint' => 'gpdb.ap-southeast-3.aliyuncs.com', 'vpc' => 'gpdb-vpc.ap-southeast-3.aliyuncs.com'], ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'gpdb.ap-southeast-5.aliyuncs.com', 'endpoint' => 'gpdb.ap-southeast-5.aliyuncs.com', 'vpc' => 'gpdb-vpc.ap-southeast-5.aliyuncs.com'], ['regionId' => 'ap-southeast-7', 'regionName' => 'Thailand (Bangkok)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'gpdb.ap-southeast-7.aliyuncs.com', 'endpoint' => 'gpdb.ap-southeast-7.aliyuncs.com', 'vpc' => 'gpdb-vpc.ap-southeast-7.aliyuncs.com'], ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'gpdb.aliyuncs.com', 'endpoint' => 'gpdb.aliyuncs.com', 'vpc' => 'gpdb-vpc.cn-beijing.aliyuncs.com'], ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'gpdb.cn-chengdu.aliyuncs.com', 'endpoint' => 'gpdb.cn-chengdu.aliyuncs.com', 'vpc' => 'gpdb-vpc.cn-chengdu.aliyuncs.com'], ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'gpdb.aliyuncs.com', 'endpoint' => 'gpdb.aliyuncs.com', 'vpc' => 'gpdb-vpc.cn-hangzhou.aliyuncs.com'], ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'gpdb.cn-hongkong.aliyuncs.com', 'endpoint' => 'gpdb.cn-hongkong.aliyuncs.com', 'vpc' => 'gpdb-vpc.cn-hongkong.aliyuncs.com'], ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'gpdb.cn-huhehaote.aliyuncs.com', 'endpoint' => 'gpdb.cn-huhehaote.aliyuncs.com', 'vpc' => 'gpdb-vpc.cn-huhehaote.aliyuncs.com'], ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'gpdb.aliyuncs.com', 'endpoint' => 'gpdb.aliyuncs.com', 'vpc' => 'gpdb-vpc.cn-shanghai.aliyuncs.com'], ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'gpdb.aliyuncs.com', 'endpoint' => 'gpdb.aliyuncs.com', 'vpc' => 'gpdb-vpc.cn-shenzhen.aliyuncs.com'], ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'gpdb.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'gpdb.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'gpdb-vpc.cn-zhangjiakou.aliyuncs.com'], ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'gpdb.us-west-1.aliyuncs.com', 'endpoint' => 'gpdb.us-west-1.aliyuncs.com', 'vpc' => 'gpdb-vpc.us-west-1.aliyuncs.com'], ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'gpdb.us-east-1.aliyuncs.com', 'endpoint' => 'gpdb.us-east-1.aliyuncs.com', 'vpc' => 'gpdb-vpc.us-east-1.aliyuncs.com'], ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'gpdb.eu-west-1.aliyuncs.com', 'endpoint' => 'gpdb.eu-west-1.aliyuncs.com', 'vpc' => 'gpdb-vpc.eu-west-1.aliyuncs.com'], ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'gpdb.eu-central-1.aliyuncs.com', 'endpoint' => 'gpdb.eu-central-1.aliyuncs.com', 'vpc' => 'gpdb-vpc.eu-central-1.aliyuncs.com'], ['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'gpdb.me-east-1.aliyuncs.com', 'endpoint' => 'gpdb.me-east-1.aliyuncs.com', 'vpc' => 'gpdb-vpc.me-east-1.aliyuncs.com'], ['regionId' => 'me-central-1', 'regionName' => 'Saudi Arabia (Riyadh)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'gpdb.me-central-1.aliyuncs.com', 'endpoint' => 'gpdb.me-central-1.aliyuncs.com', 'vpc' => 'gpdb-vpc.me-central-1.aliyuncs.com'], ['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'gpdb.ap-south-1.aliyuncs.com', 'endpoint' => 'gpdb.ap-south-1.aliyuncs.com', 'vpc' => 'gpdb-vpc.ap-south-1.aliyuncs.com'], ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'gpdb.aliyuncs.com', 'endpoint' => 'gpdb.aliyuncs.com', 'vpc' => 'gpdb-vpc.cn-shenzhen-finance-1.aliyuncs.com'], ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'gpdb.aliyuncs.com', 'endpoint' => 'gpdb.aliyuncs.com', 'vpc' => 'gpdb-vpc.cn-shanghai-finance-1.aliyuncs.com'], ['regionId' => 'cn-hangzhou-finance', 'regionName' => 'China East 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'gpdb.aliyuncs.com', 'endpoint' => 'gpdb.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-beijing-finance-1', 'regionName' => 'China North 2 Finance (Preview)', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'gpdb.aliyuncs.com', 'endpoint' => 'gpdb.aliyuncs.com', 'vpc' => ''], ], 'errorCodes' => [ ['code' => 'Abs.InvalidAccount.NotFound', 'message' => 'The account is invalid or is not found.', 'http_code' => 404, 'description' => ''], ['code' => 'AccountOrPassword.VerificationError', 'message' => 'verification account name or password failed, please check.', 'http_code' => 500, 'description' => 'User name or password verification failed. User name limits are as follows:'."\n" .'1. Consists of lowercase letters, numbers, and underscores.'."\n" .'2. Start with a lowercase letter and end with a lowercase letter or number.'."\n" .'It cannot start with gp.'."\n" .'4. The length is 2~16 characters.'."\n" .'The password restrictions are as follows:'."\n" .'1. It is composed of three or more uppercase letters, lowercase letters, numbers and special characters.'."\n" .'2. The special characters supported are as follows:! @'], ['code' => 'Collection.NotFound', 'message' => 'The vector collection is not existed, please check if the collection name is corrected.', 'http_code' => 404, 'description' => 'The vector collection does not exist, please check whether the name is filled in correctly.'], ['code' => 'COMMODITY.INVALID_COMPONENT', 'message' => 'Order configuration parameters do not meet the verification conditions, please check.', 'http_code' => 400, 'description' => 'Order configuration parameters do not meet the verification conditions, please re-match the goods!'], ['code' => 'File.NotFound', 'message' => 'The file name is not exist in database, please check the filename is corrected or not.', 'http_code' => 404, 'description' => 'The file name does not exist in the database, please check whether the input is correct.'], ['code' => 'FileExtension.NotSupport', 'message' => 'The extension of the file is not exist, please check the file extension is correct or not.', 'http_code' => 400, 'description' => 'This file extension is not supported. If it is a text file, please make sure that the file extension is not xls, xlsx, xml. If it is a picture file, gently make sure that the file name is one of bmp, jpg, jpeg, png, tiff, tar, gz, zip.'], ['code' => 'Forbidden.RAM', 'message' => 'User not authorized to operate on the specified resource, or this API does not support RAM.', 'http_code' => 403, 'description' => ''], ['code' => 'IncorrectDBState', 'message' => 'The current database state does not support the operation.', 'http_code' => 403, 'description' => ''], ['code' => 'Instance.FailedUpdateResourceGroup', 'message' => 'Failed to update resource group.', 'http_code' => 400, 'description' => ''], ['code' => 'Instance.NotFound', 'message' => 'The instance is not exist, please check.', 'http_code' => 404, 'description' => 'The instance in the request does not exist. Check whether the instance name is correct.'], ['code' => 'Instance.NotSupportVector', 'message' => 'The instance is not support vector, please enable vector in the console first.', 'http_code' => 400, 'description' => 'The instance does not support vectorization. Enable vectorization in the console.'], ['code' => 'InstanceStatus.Invalid', 'message' => 'The instance status is invalid, please retry again when the instance is running.', 'http_code' => 400, 'description' => 'The current instance status does not support this operation. Please wait until the instance is running before performing the operation.'], ['code' => 'Invalid date format', 'message' => 'The format of date parameter is invalid, please modify it to the UTC format like this: YYYY-MM-DDThh:mm:ss.', 'http_code' => 400, 'description' => 'The date format in the request parameter is incorrect, please change it to UTC time format: YYYY-MM-DDThh:mm:ss'], ['code' => 'InvalidAccountName.Forbid', 'message' => 'The specified account name is a keyword. Please change to another one.', 'http_code' => 400, 'description' => ''], ['code' => 'InvalidAccountName.Format', 'message' => 'The format of the account name is invalid, please check.', 'http_code' => 400, 'description' => 'The format of the account name is incorrect. Please check it. The user name limit is as follows:'."\n" .'1. Consists of lowercase letters, numbers, and underscores.'."\n" .'2. Start with a lowercase letter and end with a lowercase letter or number.'."\n" .'It cannot start with gp.'."\n" .'4. The length is 2~16 characters.'], ['code' => 'InvalidAddSetDataShareInstance.invalidStatus', 'message' => 'The specified instance data share status must be closed.', 'http_code' => 403, 'description' => ''], ['code' => 'InvalidClusterInstance.NotFound', 'message' => 'The instance is not exist, please check.', 'http_code' => 404, 'description' => 'The instance in the request does not exist. Check whether the instance name is correct.'], ['code' => 'InvalidDBCluster.NotFound', 'message' => 'The DBClusterId provided does not exist in our records.', 'http_code' => 404, 'description' => ''], ['code' => 'InvalidDBCluster.NotFound', 'message' => 'The instance is not exist, please check.', 'http_code' => 404, 'description' => 'The instance in the request does not exist. Check whether the instance name is correct.'], ['code' => 'InvalidDBInstanceId.NotFound', 'message' => 'The DBInstanceId provided does not exist in our records.', 'http_code' => 404, 'description' => ''], ['code' => 'InvalidEncryptionKey.Malformed', 'message' => 'The KMS Encryption Key is lost or not correct, please check.', 'http_code' => 400, 'description' => 'KMS encryption key does not exist, please check whether the input is correct'], ['code' => 'InvalidEngine.Malformed', 'message' => 'The engine parameter is invalid, please check.', 'http_code' => 400, 'description' => 'The engine parameter in the request is invalid. Check'], ['code' => 'InvalidInstanceSpec.Malformed', 'message' => 'The InstanceSpec parameter is invalid, please check.', 'http_code' => 400, 'description' => 'Instance specification parameter is invalid, please check'], ['code' => 'InvalidPageSize', 'message' => 'The parameter PageSize is invalid.', 'http_code' => 400, 'description' => ''], ['code' => 'InvalidParam', 'message' => 'The request parameter is invalid, please check.', 'http_code' => 400, 'description' => 'The request parameter is invalid, please check'], ['code' => 'InvalidParameter.PageSize', 'message' => 'The specified parameter PageSize is invalid.', 'http_code' => 400, 'description' => ''], ['code' => 'InvalidQueryTime.Format', 'message' => 'The specified query time is invalid.', 'http_code' => 400, 'description' => ''], ['code' => 'InvalidRemoveSetDataShareInstance.invalidStatus', 'message' => 'The specified instance data share status must be opened', 'http_code' => 403, 'description' => ''], ['code' => 'InvalidRemoveSetDataShareInstance.invalidStatus', 'message' => 'The instance status is invalid, please check.', 'http_code' => 403, 'description' => 'Instance Status'], ['code' => 'InvalidSecurityIPList.Format', 'message' => 'The request parameter of SecurityIPList is invalid, please check.', 'http_code' => 400, 'description' => 'The whitelist IP list field in the request parameter is invalid. Check'], ['code' => 'InvalidSecurityIPList.NotFound', 'message' => 'The request paramter SecurityIPList is not exist, please check.', 'http_code' => 404, 'description' => 'SecurityIPList the request parameters are missing, check'], ['code' => 'InvalidSegStorageSize.Malformed', 'message' => 'The request parameter of SegStorageSize is invalid, please check.', 'http_code' => 400, 'description' => 'The SegStorageSize in the request parameter is invalid. Check'], ['code' => 'InvalidUpgradeParam.Malformed', 'message' => 'segStorageType or segDiskPerformance is invalid.', 'http_code' => 400, 'description' => 'segStorageType or segDiskPerformanceLevel illegal'], ['code' => 'InvalidVPC.NotFound', 'message' => 'Specified VPC or VSwitch is not found.', 'http_code' => 400, 'description' => 'The specified VPC or VSwitch cannot be found'], ['code' => 'InvalidVSwitchId.NotFound', 'message' => 'The DBInstance VSwitch ID is invalid.', 'http_code' => 400, 'description' => ''], ['code' => 'JobStillRunning', 'message' => 'last job still running.', 'http_code' => 400, 'description' => 'Previous task is still running'], ['code' => 'Location.FailedGetSubDomain', 'message' => 'Failed to get subDomain.', 'http_code' => 400, 'description' => 'Unable to find the corresponding zone'], ['code' => 'LockTimeout', 'message' => 'The request processing has failed due to lock timeout.', 'http_code' => 400, 'description' => ''], ['code' => 'MCP.F-INVENTORY-LIMIT_EXCEED', 'message' => 'Inventory exceeds limit.', 'http_code' => 400, 'description' => 'Inventory exceeds limit'], ['code' => 'MetaDBApiCalled.Failed', 'message' => 'The DBClusterId provided does not exist in our records, please check.', 'http_code' => 400, 'description' => ''], ['code' => 'MissingDBInstanceId', 'message' => 'You must specify the parameter dbInstanceId.', 'http_code' => 404, 'description' => ''], ['code' => 'MissingRegionId', 'message' => 'You must specify the parameter Region.', 'http_code' => 404, 'description' => ''], ['code' => 'MissingRows', 'message' => 'Rows can not be empty.', 'http_code' => 400, 'description' => 'Parameter Rows cannot be empty'], ['code' => 'MissingSecurityToken', 'message' => 'You must specify the parameter SecurityToken.', 'http_code' => 404, 'description' => ''], ['code' => 'MissingStartTime', 'message' => 'You must specify the parameter StartTime.', 'http_code' => 404, 'description' => ''], ['code' => 'Non-RdsException', 'message' => 'Gateway Time-out.', 'http_code' => 500, 'description' => 'Backend service timeout'], ['code' => 'OperationDenied.DBInstanceStatus', 'message' => 'The instance status does not support the operation.', 'http_code' => 403, 'description' => ''], ['code' => 'OperationDenied.InsufficientResourceCapacity', 'message' => 'The operation is not permitted. Resource capacity is insufficient.', 'http_code' => 403, 'description' => ''], ['code' => 'OperationDenied.OrderProcessing', 'message' => 'User already has an order which is processing.', 'http_code' => 400, 'description' => 'User has orders in process'], ['code' => 'Params.Invalid', 'message' => 'Params is Invalid.', 'http_code' => 400, 'description' => 'Illegal parameter'], ['code' => 'PlanConfig.invalid', 'message' => 'planConfig cron time invalid.', 'http_code' => 400, 'description' => 'The planCronTime of the parameter PlanConfig is illegal, and the format does not conform to the specification.'], ['code' => 'PRICE.PRICING_PLAN_RESULT_NOT_FOUND', 'message' => 'Pricing plan price result not found.', 'http_code' => 400, 'description' => 'Pricing plan price result not found'], ['code' => 'SecurityIPList.Duplicate', 'message' => 'The specified security IP address already exists.', 'http_code' => 403, 'description' => ''], ['code' => 'Service.Exception', 'message' => 'Service Unavailable.', 'http_code' => 500, 'description' => 'Service Unavailable'], ['code' => 'Unknown.Exception', 'message' => 'An unknown exception occurred. Please check.', 'http_code' => 400, 'description' => ''], ['code' => 'UPDOWNGRADE_CONFIG_NO_CHANGE', 'message' => 'The upgrade or downgrade configuration is not changed.', 'http_code' => 400, 'description' => 'The upgrade or downgrade configuration is not changed, please re-select'], ['code' => 'VSwitchIp.NotEnough', 'message' => 'The DBInstance vswitch ip is not enough.', 'http_code' => 400, 'description' => 'insufficient VSwitch ip specified'], ], 'changeSet' => [ [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'GetSupabaseProject'], ], 'createdAt' => '2025-12-15T13:41:25.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'GetSupabaseProject'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListSupabaseProjects'], ], 'createdAt' => '2025-12-04T13:13:02.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'ListAINodePools'], ], 'createdAt' => '2025-12-04T12:43:27.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'GetUploadDocumentJob'], ], 'createdAt' => '2024-10-14T18:10:55.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateDBInstance'], ['description' => 'Response parameters changed', 'api' => 'DescribeDBInstanceAttribute'], ], 'createdAt' => '2024-10-11T13:17:41.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateAccount'], ['description' => 'Request parameters changed', 'api' => 'UpgradeExtensions'], ], 'createdAt' => '2024-09-26T16:27:45.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'DescribeDataBackups'], ], 'createdAt' => '2024-08-29T14:30:00.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ModifyMasterSpec'], ], 'createdAt' => '2024-08-29T13:05:26.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'QueryCollectionData'], ], 'createdAt' => '2024-08-28T09:31:03.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateAccount'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeAccounts'], ], 'createdAt' => '2024-08-20T13:42:30.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CheckHadoopNetConnection'], ['description' => 'Request parameters changed', 'api' => 'CheckJDBCSourceNetConnection'], ['description' => 'Response parameters changed', 'api' => 'DescribeHadoopDataSource'], ['description' => 'Response parameters changed', 'api' => 'DescribeJDBCDataSource'], ], 'createdAt' => '2024-08-20T13:41:51.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'DescribeDBInstanceDataBloat'], ['description' => 'Request parameters changed', 'api' => 'DescribeDBInstanceDataSkew'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeDBInstanceIndexUsage'], ], 'createdAt' => '2024-08-06T13:38:50.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CancelUpsertCollectionDataJob'], ['description' => 'Request parameters changed', 'api' => 'CreateCollection'], ['description' => 'Request parameters changed', 'api' => 'CreateNamespace'], ['description' => 'Request parameters changed', 'api' => 'DeleteCollection'], ['description' => 'Request parameters changed', 'api' => 'DeleteCollectionData'], ['description' => 'Request parameters changed', 'api' => 'DeleteNamespace'], ['description' => 'Request parameters changed', 'api' => 'DescribeCollection'], ['description' => 'Request parameters changed', 'api' => 'DescribeNamespace'], ['description' => 'Request parameters changed', 'api' => 'GetUpsertCollectionDataJob'], ['description' => 'Request parameters changed', 'api' => 'InitVectorDatabase'], ], 'createdAt' => '2024-08-04T13:56:01.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListDocuments'], ['description' => 'Request parameters changed', 'api' => 'QueryContent'], ], 'createdAt' => '2024-07-18T13:41:52.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeDocument'], ], 'createdAt' => '2024-07-03T08:14:35.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeStreamingDataService'], ['description' => 'Response parameters changed', 'api' => 'ListStreamingDataServices'], ], 'createdAt' => '2024-06-27T13:48:02.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateDBInstance'], ], 'createdAt' => '2024-05-13T11:33:39.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'QueryCollectionData'], ['description' => 'Request parameters changed', 'api' => 'QueryContent'], ], 'createdAt' => '2024-04-29T13:31:32.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'QueryCollectionData'], ['description' => 'Request parameters changed', 'api' => 'QueryContent'], ], 'createdAt' => '2024-04-22T13:37:25.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'QueryContent'], ], 'createdAt' => '2024-02-19T11:25:55.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'GetUploadDocumentJob'], ], 'createdAt' => '2024-01-18T02:33:21.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'QueryContent'], ], 'createdAt' => '2024-01-17T12:18:10.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateCollection'], ['description' => 'Request parameters changed', 'api' => 'CreateDocumentCollection'], ['description' => 'Request parameters changed', 'api' => 'CreateVectorIndex'], ], 'createdAt' => '2024-01-09T12:37:28.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateDBInstance'], ['description' => 'Response parameters changed', 'api' => 'DescribeDBInstanceAttribute'], ['description' => 'Response parameters changed', 'api' => 'DescribeDBInstances'], ], 'createdAt' => '2024-01-04T12:20:12.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Error codes changed', 'api' => 'SwitchDBInstanceNetType'], ], 'createdAt' => '2024-01-04T08:21:11.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateDBInstance'], ], 'createdAt' => '2023-12-18T11:29:05.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'DescribeDBInstances'], ], 'createdAt' => '2023-12-11T12:31:44.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'DescribeDBClusterPerformance'], ], 'createdAt' => '2023-12-11T12:31:34.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'UpdateCollectionDataMetadata'], ], 'createdAt' => '2023-12-06T11:08:30.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateCollection'], ['description' => 'Request parameters changed', 'api' => 'CreateNamespace'], ['description' => 'Request parameters changed', 'api' => 'CreateVectorIndex'], ['description' => 'Request parameters changed', 'api' => 'DeleteCollection'], ['description' => 'Request parameters changed', 'api' => 'DeleteCollectionData'], ['description' => 'Request parameters changed', 'api' => 'DeleteNamespace'], ['description' => 'Request parameters changed', 'api' => 'DeleteVectorIndex'], ['description' => 'Request parameters changed', 'api' => 'DescribeCollection'], ['description' => 'Request parameters changed', 'api' => 'DescribeNamespace'], ['description' => 'Request parameters changed', 'api' => 'GrantCollection'], ], 'createdAt' => '2023-11-07T11:35:57.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'DescribeDBInstanceIPArrayList'], ], 'createdAt' => '2023-09-20T11:13:06.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateDBInstance'], ['description' => 'Request parameters changed', 'api' => 'ModifyBackupPolicy'], ['description' => 'Request parameters changed', 'api' => 'TagResources'], ], 'createdAt' => '2023-09-18T06:15:50.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Error codes changed', 'api' => 'DescribeRegions'], ['description' => 'Error codes changed', 'api' => 'ModifyAccountDescription'], ], 'createdAt' => '2023-09-11T00:59:27.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateDBInstance'], ['description' => 'Response parameters changed', 'api' => 'DescribeDBInstanceAttribute'], ], 'createdAt' => '2023-08-17T11:47:44.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateDBInstance'], ], 'createdAt' => '2023-08-17T11:23:59.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeDataBackups'], ], 'createdAt' => '2023-08-17T11:20:34.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'QueryCollectionData'], ], 'createdAt' => '2023-08-17T09:43:00.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateCollection'], ['description' => 'Request parameters changed', 'api' => 'CreateVectorIndex'], ['description' => 'Response parameters changed', 'api' => 'QueryCollectionData'], ], 'createdAt' => '2023-08-08T12:19:05.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'UpgradeDBInstance'], ], 'createdAt' => '2023-08-04T08:18:15.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Error codes changed', 'api' => 'ModifySQLCollectorPolicy'], ], 'createdAt' => '2023-08-03T11:31:51.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeSQLLogsV2'], ], 'createdAt' => '2023-08-02T12:21:49.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'DescribeDataSharePerformance'], ], 'createdAt' => '2023-08-02T11:03:04.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'DescribeDBInstanceNetInfo'], ], 'createdAt' => '2023-07-31T11:15:37.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'DeleteCollectionData'], ], 'createdAt' => '2023-07-20T07:09:21.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Error codes changed', 'api' => 'DescribeModifyParameterLog'], ['description' => 'Error codes changed', 'api' => 'DescribeParameters'], ], 'createdAt' => '2023-07-06T12:01:04.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeHealthStatus'], ], 'createdAt' => '2023-06-30T02:39:23.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'OpenAPI offline', 'api' => 'CreateDBInstancePlan'], ['description' => 'OpenAPI offline', 'api' => 'DeleteDBInstancePlan'], ['description' => 'OpenAPI offline', 'api' => 'DescribeDBInstancePlans'], ['description' => 'OpenAPI offline', 'api' => 'SetDBInstancePlanStatus'], ['description' => 'OpenAPI offline', 'api' => 'UpdateDBInstancePlan'], ], 'createdAt' => '2023-05-25T03:17:30.000Z', 'description' => '创建存储弹性实例6.0版本时,新增"开启向量引擎优化选项",适用于AIGC等场景。', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateDBInstance'], ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'DescribeDBInstanceAttribute'], ], 'createdAt' => '2023-05-23T15:32:37.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ModifySecurityIps'], ], 'createdAt' => '2023-05-18T07:41:07.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateDBInstance'], ], 'createdAt' => '2023-05-04T11:10:16.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateDBInstance'], ], 'createdAt' => '2023-04-18T12:35:11.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeSQLLogsV2'], ], 'createdAt' => '2022-12-30T03:38:10.000Z', 'description' => '调整超时参数,暂时不展示', ], [ 'apis' => [ ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeAvailableResources'], ], 'createdAt' => '2022-12-13T11:48:00.000Z', 'description' => '增加单副本和gp7相关的规格', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateDBInstance'], ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'DescribeDBInstanceAttribute'], ['description' => 'Response parameters changed', 'api' => 'DescribeDBInstances'], ], 'createdAt' => '2022-10-28T08:11:46.000Z', 'description' => '新增Serverless自动调度类型相关接口', ], [ 'apis' => [ ['description' => 'OpenAPI offline', 'api' => 'DescribeWaitingSQLInfo'], ['description' => 'OpenAPI offline', 'api' => 'DescribeWaitingSQLRecords'], ], 'createdAt' => '2022-10-27T12:12:22.000Z', 'description' => '增加获取锁诊断列表和获取锁诊断详情信息接口', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateECSDBInstance'], ['description' => 'Request parameters changed', 'api' => 'CreateECSDBInstance'], ], 'createdAt' => '2022-09-14T13:17:47.000Z', 'description' => 'openapi创建操作支持标签服务openapi支持部分标签鉴权', ], [ 'apis' => [ ['description' => 'Error codes changed', 'api' => 'DescribeLogBackups'], ['description' => 'Error codes changed', 'api' => 'DescribeResourceUsage'], ], 'createdAt' => '2022-08-30T12:23:21.000Z', 'description' => '资源变更', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DownloadDiagnosisRecords'], ], 'createdAt' => '2022-08-30T09:30:43.000Z', 'description' => '1', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'UpgradeDBInstance'], ], 'createdAt' => '2022-08-30T08:35:12.000Z', 'description' => '支持资源组', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'DownloadDiagnosisRecords'], ], 'createdAt' => '2022-08-29T02:52:10.000Z', 'description' => '支持资源组', ], [ 'apis' => [ ['description' => 'Error codes changed', 'api' => 'DescribeAccounts'], ['description' => 'Error codes changed', 'api' => 'DescribeSQLCollectorPolicy'], ['description' => 'Error codes changed', 'api' => 'ModifyParameters'], ['description' => 'Error codes changed', 'api' => 'ResetAccountPassword'], ], 'createdAt' => '2022-08-25T08:33:27.000Z', 'description' => '完善API审计信息', ], [ 'apis' => [ ['description' => 'Error codes changed', 'api' => 'CheckServiceLinkedRole'], ['description' => 'Request parameters changed', 'api' => 'DescribeRdsVpcs'], ['description' => 'Request parameters changed', 'api' => 'DescribeRdsVSwitchs'], ], 'createdAt' => '2022-08-23T12:48:48.000Z', 'description' => '添加资源组', ], [ 'apis' => [ ['description' => 'Error codes changed', 'api' => 'AddBuDBInstanceRelation'], ], 'createdAt' => '2022-08-15T07:54:47.000Z', 'description' => 'OpenApi添加资源关联信息', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeDBInstances'], ], 'createdAt' => '2022-08-11T11:41:49.000Z', 'description' => '支持资源组', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'ResumeInstance'], ], 'createdAt' => '2022-08-03T11:09:18.000Z', 'description' => '更新api返回数据对应的后端值', ], [ 'apis' => [ ['description' => 'OpenAPI offline', 'api' => 'PauseInstance'], ['description' => 'OpenAPI offline', 'api' => 'ResumeInstance'], ], 'createdAt' => '2022-07-26T12:32:36.000Z', 'description' => '新增启停接口', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeHealthStatus'], ], 'createdAt' => '2022-06-22T15:02:17.000Z', 'description' => '暂不通知', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeDBInstanceAttribute'], ['description' => 'OpenAPI offline', 'api' => 'DescribeDBInstanceDataBloat'], ['description' => 'OpenAPI offline', 'api' => 'DescribeDBInstanceDataSkew'], ['description' => 'OpenAPI offline', 'api' => 'DescribeDBInstanceDiagnosisSummary'], ['description' => 'OpenAPI offline', 'api' => 'DescribeDBInstanceErrorLog'], ['description' => 'OpenAPI offline', 'api' => 'DescribeDBInstanceIndexUsage'], ['description' => 'OpenAPI offline', 'api' => 'DescribeDiagnosisDimensions'], ['description' => 'OpenAPI offline', 'api' => 'DescribeDiagnosisMonitorPerformance'], ['description' => 'OpenAPI offline', 'api' => 'DescribeDiagnosisRecords'], ['description' => 'OpenAPI offline', 'api' => 'DescribeDiagnosisSQLInfo'], ], 'createdAt' => '2022-06-22T11:58:35.000Z', 'description' => '新增诊断相关OpenApi', ], [ 'apis' => [ ['description' => 'OpenAPI offline', 'api' => 'RebalanceDBInstance'], ], 'createdAt' => '2022-05-25T13:16:17.000Z', 'description' => '新增Rebalance api', ], [ 'apis' => [ ['description' => 'Request parameters changed, Error codes changed', 'api' => 'UpgradeDBInstance'], ], 'createdAt' => '2022-04-28T02:36:27.000Z', 'description' => 'openapi支持serverless和弹性存储实例的变配功能', ], [ 'apis' => [ ['description' => 'OpenAPI offline', 'api' => 'DescribeDataSharePerformance'], ], 'createdAt' => '2022-04-18T03:06:55.000Z', 'description' => '增加数据共享性能指标查询API', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeDBInstanceAttribute'], ['description' => 'OpenAPI offline', 'api' => 'DescribeDBVersion'], ], 'createdAt' => '2022-04-11T13:34:40.000Z', 'description' => '新增DescribeDBVersion接口', ], [ 'apis' => [ ['description' => 'Request parameters changed, Error codes changed', 'api' => 'CreateDBInstance'], ], 'createdAt' => '2021-12-21T05:57:11.000Z', 'description' => '支持创建云原生实例', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeDBInstanceAttribute'], ], 'createdAt' => '2021-11-23T15:30:10.000Z', 'description' => '查询实例详情接口返回值增加字段', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeDBInstanceAttribute'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeDBInstances'], ], 'createdAt' => '2021-11-22T14:13:37.000Z', 'description' => 'adbpg更新查询接口', ], [ 'apis' => [ ['description' => 'Error codes changed', 'api' => 'TagResources'], ], 'createdAt' => '2021-09-22T10:09:08.000Z', 'description' => '新增资源配置', ], [ 'apis' => [ ['description' => 'OpenAPI offline', 'api' => 'CreateServiceLinkedRole'], ], 'createdAt' => '2021-05-11T08:19:59.000Z', 'description' => '创建slr接口新增参数', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'DescribeDBInstanceOnECSAttribute'], ['description' => 'OpenAPI offline', 'api' => 'DescribeSlowSQLLogs'], ['description' => 'OpenAPI offline', 'api' => 'DescribeSQLLogByQueryId'], ], 'createdAt' => '2021-04-14T04:42:35.000Z', 'description' => 'DescribeSlowSQLLogs用来获得ADB PG查询信息。DescribeSQLLogByQueryId用来根据queryID获得查询信息。DescribeDBInstanceOnECSAttribute增加小版本号。', ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAvailableResources'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCollection'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNamespace'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDownloadRecords'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWaitingSQLInfo'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyExternalDataService'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyParameters'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchDBInstanceNetType'], ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*'], ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDataReDistributeInfo'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRemoteADBDataSource'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteExternalDataService'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCollection'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeActiveSQLRecords'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRemoteADBDataSource'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteExtension'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSchemas'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateStreamingDataService'], ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDataBackups'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InitVectorDatabase'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDiagnosisSQLInfo'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCollectionData'], ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeLogBackups'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAccount'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeModifyParameterLog'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStreamingJob'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListStreamingDataSources'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BindDBResourceGroupWithRole'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParameters'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyMasterSpec'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryContent'], ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'PauseInstance'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListStreamingDataServices'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBResourceGroup'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceSupportMaxPerformance'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RebalanceDBInstance'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AllocateInstancePublicConnection'], ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateDBInstancePlan'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWaitingSQLRecords'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DownloadDiagnosisRecords'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSecrets'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifySQLCollectorPolicy'], ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHealthStatus'], ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDataSharePerformance'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyJDBCDataSource'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNamespace'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAccount'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRemoteADBDataSources'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListStreamingJobs'], ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpsertCollectionData'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifySecurityIps'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetDataShareInstance'], ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteDBInstancePlan'], ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PauseDataRedistribute'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnbindDBResourceGroupWithRole'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateNamespace'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteHadoopDataSource'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUpsertCollectionDataJob'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBClusterPerformance'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyStreamingJob'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDBInstance'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSecret'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVectorIndex'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceDataBloat'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDBResourceGroup'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRoles'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStreamingDataService'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyStreamingDataService'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCollectionDataMetadata'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHadoopConfigs'], ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSupportFeatures'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteStreamingDataSource'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStreamingDataSource'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHadoopClustersInSameNet'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'HandleActiveSQLRecord'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstanceMaintainTime'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDocumentCollections'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDocumentCollection'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDiagnosisDimensions'], ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSQLLogsV2'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeJDBCDataSource'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableDBResourceGroup'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDiagnosisMonitorPerformance'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAccount'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserEncryptionKeyList'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteJDBCDataSource'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListExternalDataSources'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResetAccountPassword'], ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateDBInstancePlan'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateExtensions'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBClusterNode'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpgradeDBVersion'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBResourceManagementMode'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceIPArrayList'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceErrorLog'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListExternalDataServices'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceLinkedRole'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceIndexUsage'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyAccountDescription'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstanceConfig'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyHadoopDataSource'], ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UploadDocumentAsync'], ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DownloadSQLLogsRecords'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelUpsertCollectionDataJob'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVectorConfiguration'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHadoopDataSource'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceDiagnosisSummary'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckJDBCSourceNetConnection'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstanceConnectionString'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RestartDBInstance'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataShareInstances'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTags'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstancePayType'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpsertChunks'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateStreamingDataSource'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelUploadDocumentJob'], ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyBackupPolicy'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteStreamingDataService'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryCollectionData'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBResourceGroup'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDocument'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CloneDBInstance'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResetIMVMonitorData'], ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ResumeInstance'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceAttribute'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListNamespaces'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckServiceLinkedRole'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeExternalDataService'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'Rerank'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResumeDataRedistribute'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceDataSkew'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateStreamingJob'], ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSQLLogCount'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRdsVpcs'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDBInstance'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckHadoopNetConnection'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRdsVSwitchs'], ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SetDBInstancePlanStatus'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRemoteADBDataSource'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBVersionInfos'], ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyDBInstanceResourceGroup'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstancePerformance'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUploadDocumentJob'], ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstances'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTable'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpsertCollectionDataAsync'], ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSampleData'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatabases'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstanceSSL'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyStreamingDataSource'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCollection'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceNetInfo'], ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateSampleData'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteStreamingJob'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateHadoopDataSource'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateExternalDataService'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCollections'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDocumentCollection'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseInstancePublicConnection'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpgradeDBInstance'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpgradeExtensions'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstanceNetworkType'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckHadoopDataSource'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableDBResourceGroup'], ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSQLLogs'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstanceDescription'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVectorIndex'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSecretValue'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIMVInfos'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteStatement'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDBResourceGroup'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateJDBCDataSource'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDiagnosisRecords'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAccounts'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDBInstanceSSL'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDocuments'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTables'], ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDBInstancePlans'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSecret'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBackupPolicy'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListInstanceExtensions'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GrantCollection'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDocument'], ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UnloadSampleData'], ['threshold' => '3000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDBInstanceDeploymentMode'], ], 'product' => ['code' => 'gpdb', 'title' => 'gpdb'], ], 'ram' => [ 'productCode' => 'GPDB', 'productName' => 'AnalyticDB for PostgreSQL', 'ramCodes' => ['gpdb'], 'ramLevel' => 'RESOURCE', 'ramConditions' => [ [ 'name' => 'gpdb:EncryptionType', 'schema' => [ 'type' => 'String', 'description' => 'The encryption type. Off: Do not enable encryption; CloudDisk: Enable cloud disk encryption and specify the key through the EncryptionKey parameter', 'enums' => ['Off', 'CloudDisk'], ], ], [ 'name' => 'gpdb:SSLEnabled', 'schema' => [ 'type' => 'String', 'description' => 'SSL Encryption Status', 'enums' => ['Enable', 'Disable', 'Update'], ], ], [ 'name' => 'gpdb:EnableSSL', 'schema' => [ 'type' => 'Boolean', 'description' => 'Whether to enable SSL', 'enums' => ['true', 'false'], ], ], ], 'ramActions' => [ [ 'apiName' => 'CreateStreamingDataSource', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateStreamingDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDBInstanceDataSkew', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceDataSkew', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CreateExtensions', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateExtensions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeHadoopClustersInSameNet', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:DescribeHadoopClustersInSameNet', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDBInstanceDiagnosisSummary', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceDiagnosisSummary', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteSupabaseProject', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteSupabaseProject', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], [ 'apiName' => 'ModifyDBInstanceConfig', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ModifyDBInstanceConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], [ 'apiName' => 'ListSlowSQLRecords', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ListSlowSQLRecords', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeExternalDataService', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeExternalDataService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ReleaseInstancePublicConnection', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ReleaseInstancePublicConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListStreamingDataSources', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListStreamingDataSources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'TagResources', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:TagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CheckHadoopDataSource', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'gpdb:CheckHadoopDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeployPrivateRAGService', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:DeployPrivateRAGService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeSQLLogCount', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeSQLLogCount', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ResumeSupabaseProject', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ResumeSupabaseProject', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], [ 'apiName' => 'DescribeBackupJob', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeBackupJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListRemoteADBDataSources', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListRemoteADBDataSources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'InitVectorDatabase', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:InitVectorDatabase', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDBResourceGroup', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeHadoopDataSource', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeHadoopDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'SetDBInstancePlanStatus', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:SetDBInstancePlanStatus', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], [ 'apiName' => 'DescribeSampleData', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeSampleData', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeStreamingDataService', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DescribeStreamingDataService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteSaasService', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteSaasService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeDBInstancePerformance', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstancePerformance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListDocuments', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:ListDocuments', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifyStreamingDataSource', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyStreamingDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeUserEncryptionKeyList', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeUserEncryptionKeyList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeWaitingSQLRecords', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeWaitingSQLRecords', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'UploadDocumentAsync', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:UploadDocumentAsync', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CreateBackup', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateBackup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CreateDocumentCollection', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateDocumentCollection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifyDBInstanceDescription', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyDBInstanceDescription', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListDatabaseExtensions', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListDatabaseExtensions', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'AllocateInstancePublicConnection', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:AllocateInstancePublicConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListAINodePools', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ListAINodePools', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeletePrivateRAGService', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:DeletePrivateRAGService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteSnapshot', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteSnapshot', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeStreamingDataSource', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeStreamingDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeRdsVpcs', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeRdsVpcs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetStatementResult', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetStatementResult', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeHealthStatus', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeHealthStatus', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'UntagResources', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:UntagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteCollectionData', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteCollectionData', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeSupportFeatures', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeSupportFeatures', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifySupabaseProjectDescription', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifySupabaseProjectDescription', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], [ 'apiName' => 'EnableCollectionGraphRAG', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:EnableCollectionGraphRAG', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifyStreamingDataService', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:ModifyStreamingDataService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeZonesPrivateRAGService', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeZonesPrivateRAGService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDataShareInstances', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDataShareInstances', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GrantCollection', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:GrantCollection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'UpdateDBInstancePlan', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:UpdateDBInstancePlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], [ 'apiName' => 'CreateJDBCDataSource', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateJDBCDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CreateRemoteADBDataSource', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateRemoteADBDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListTables', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListTables', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeDBInstanceNetInfo', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceNetInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteExternalDataService', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteExternalDataService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDiagnosisRecords', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDiagnosisRecords', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CreateWorkspace', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateWorkspace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UntagSupabaseProject', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:UntagSupabaseProject', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeDBInstancePlans', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstancePlans', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], [ 'apiName' => 'UpgradeExtensions', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:UpgradeExtensions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteStreamingDataService', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DeleteStreamingDataService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifyHadoopDataSource', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyHadoopDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'GetSupabaseProjectApiKeys', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetSupabaseProjectApiKeys', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], [ 'apiName' => 'Rerank', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:Rerank', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'GetSupabaseProject', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetSupabaseProject', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], [ 'apiName' => 'DescribeJDBCDataSource', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeJDBCDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListWorkspaces', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListWorkspaces', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateHadoopDataSource', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateHadoopDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'UpsertCollectionData', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:UpsertCollectionData', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CreateNamespace', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Namespace', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:namespace/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteVectorIndex', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DeleteVectorIndex', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'UnloadSampleData', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:UnloadSampleData', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribePrivateRAGService', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribePrivateRAGService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteJDBCDataSource', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteJDBCDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteBackup', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteBackup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeWaitingSQLInfo', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeWaitingSQLInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeStreamingJob', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DescribeStreamingJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'HandleActiveSQLRecord', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:HandleActiveSQLRecord', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteAIService', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:DeleteAIService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListStreamingDataServices', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:ListStreamingDataServices', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeExtension', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeExtension', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDBResourceManagementMode', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBResourceManagementMode', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeActiveSQLRecords', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeActiveSQLRecords', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CreateIndex', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateIndex', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteDocument', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DeleteDocument', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeAccounts', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeAccounts', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListSupportModels', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ListSupportModels', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ModifyParameters', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyParameters', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeHadoopConfigs', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeHadoopConfigs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListAIServices', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ListAIServices', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'PauseInstance', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:PauseInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CreateDBResourceGroup', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateDBResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDocument', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DescribeDocument', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListBackupJobs', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ListBackupJobs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDataBackups', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDataBackups', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeCollection', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DescribeCollection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'GetSecretValue', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetSecretValue', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteBranch', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteBranch', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Branch', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:branch/{#BranchId}'], ], ], ], [ 'apiName' => 'ModifyCollection', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyCollection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListModelServices', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ListModelServices', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDBInstanceIPArrayList', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceIPArrayList', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifyDBInstanceDeploymentMode', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyDBInstanceDeploymentMode', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListExternalDataSources', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListExternalDataSources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteRemoteADBDataSource', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteRemoteADBDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CreateDBInstancePlan', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:CreateDBInstancePlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], [ 'apiName' => 'DescribeDiagnosisMonitorPerformance', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDiagnosisMonitorPerformance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'SwitchDBInstanceNetType', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:SwitchDBInstanceNetType', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CheckHadoopNetConnection', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'gpdb:CheckHadoopNetConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeSQLLogs', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeSQLLogs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteSecret', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteSecret', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpsertCollectionDataAsync', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:UpsertCollectionDataAsync', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteDBResourceGroup', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteDBResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'QueryContent', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:QueryContent', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListSecrets', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListSecrets', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateDBInstanceIPArray', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateDBInstanceIPArray', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteModelService', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteModelService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'PauseDataRedistribute', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:PauseDataRedistribute', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'GetUploadDocumentJob', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:GetUploadDocumentJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteIndex', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteIndex', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDBInstances', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/*'], ], ], ], [ 'apiName' => 'DeleteAccount', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'gpdb:DeleteAccount', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListSaasService', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListSaasService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ResetIMVMonitorData', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ResetIMVMonitorData', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CreateSecret', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateSecret', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeDBInstanceErrorLog', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceErrorLog', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifyDBInstanceResourceGroup', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyDBInstanceResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifyJDBCDataSource', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyJDBCDataSource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'GetSupabaseProjectDashboardAccount', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetSupabaseProjectDashboardAccount', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], [ 'apiName' => 'DescribeModifyParameterLog', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeModifyParameterLog', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteCollection', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DeleteCollection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifyDBResourceGroup', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyDBResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeBackupPolicy', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeBackupPolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CloneDBInstance', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:CloneDBInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteStreamingJob', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteStreamingJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteStreamingDataSource', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteStreamingDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListNamespaces', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:ListNamespaces', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Namespace', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:namespace/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDownloadSQLLogs', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDownloadSQLLogs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], [ 'apiName' => 'DeleteWorkspace', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteWorkspace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeTable', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeTable', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListSupabaseProjects', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListSupabaseProjects', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/*'], ], ], ], [ 'apiName' => 'CreateSampleData', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:CreateSampleData', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CreateStreamingJob', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateStreamingJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CreateServiceLinkedRole', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateServiceLinkedRole', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetUpsertCollectionDataJob', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:GetUpsertCollectionDataJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DownloadDiagnosisRecords', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'gpdb:DownloadDiagnosisRecords', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDBVersionInfos', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBVersionInfos', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CancelUpsertCollectionDataJob', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CancelUpsertCollectionDataJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifyDBInstanceConnectionString', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyDBInstanceConnectionString', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDBInstanceAttribute', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceAttribute', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeRoles', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeRoles', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeBranch', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeBranch', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Branch', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:branch/{#BranchId}'], ], ], ], [ 'apiName' => 'ModifyAIServiceSecurityIps', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyAIServiceSecurityIps', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDBInstanceSupportMaxPerformance', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceSupportMaxPerformance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ResetAccountPassword', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ResetAccountPassword', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDiagnosisDimensions', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDiagnosisDimensions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifyMasterSpec', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyMasterSpec', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifySupabaseProjectSecurityIps', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifySupabaseProjectSecurityIps', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], [ 'apiName' => 'ListInstanceExtensions', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListInstanceExtensions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'TextEmbedding', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'gpdb:TextEmbedding', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CreateSnapshot', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateSnapshot', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetServiceAccessInfo', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetServiceAccessInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateCollection', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateCollection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'AddAINode', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:AddAINode', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpsertChunks', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:UpsertChunks', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDBInstanceIndexUsage', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceIndexUsage', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'RestartSupabaseProject', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:RestartSupabaseProject', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], [ 'apiName' => 'ChatWithKnowledgeBase', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:ChatWithKnowledgeBase', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'UpdateCollectionDataMetadata', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:UpdateCollectionDataMetadata', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDBInstanceDataBloat', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceDataBloat', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'UnbindDBResourceGroupWithRole', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:UnbindDBResourceGroupWithRole', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDiagnosisSQLInfo', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDiagnosisSQLInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListSupabaseProjectTags', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ListSupabaseProjectTags', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetGraphRAGJob', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetGraphRAGJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeCreateIndexJob', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeCreateIndexJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CancelUploadDocumentJob', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:CancelUploadDocumentJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'RestoreSnapshot', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:RestoreSnapshot', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateDatabase', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateDatabase', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeRdsVSwitchs', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeRdsVSwitchs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeNamespace', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DescribeNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Namespace', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:namespace/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteHadoopDataSource', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteHadoopDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeTags', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeTags', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/*'], ], ], ], [ 'apiName' => 'DeleteExtension', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteExtension', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'GetBranchSchema', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetBranchSchema', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Branch', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:branch/{#BranchId}'], ], ], ], [ 'apiName' => 'ChatWithKnowledgeBaseStream', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ChatWithKnowledgeBaseStream', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteDocumentCollection', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DeleteDocumentCollection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'QueryCollectionData', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:QueryCollectionData', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListDocumentCollections', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:ListDocumentCollections', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDBClusterNode', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBClusterNode', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ResumeInstance', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ResumeInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'UpgradeDBVersion', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:UpgradeDBVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListIndices', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ListIndices', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifySupabaseProjectResource', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifySupabaseProjectResource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], [ 'apiName' => 'BindDBResourceGroupWithRole', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:BindDBResourceGroupWithRole', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeRebalanceStatus', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeRebalanceStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateVectorIndex', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateVectorIndex', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteDBInstancePlan', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DeleteDBInstancePlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDBClusterPerformance', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBClusterPerformance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifyStreamingJob', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:ModifyStreamingJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteDBInstance', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteDBInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeIndex', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeIndex', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CancelCreateIndexJob', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:CancelCreateIndexJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ExecuteStatement', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:ExecuteStatement', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateSaasService', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateSaasService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'QueryKnowledgeBasesContent', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:QueryKnowledgeBasesContent', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteDBInstanceIPArray', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteDBInstanceIPArray', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeSQLLogsV2', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeSQLLogsV2', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DeleteDatabase', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DeleteDatabase', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ModifySecurityIps', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifySecurityIps', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CreateBranch', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateBranch', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ModifyDBInstancePayType', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyDBInstancePayType', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DownloadSlowSQLRecords', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DownloadSlowSQLRecords', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListSchemas', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListSchemas', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListCollections', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:ListCollections', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CreateAIService', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:CreateAIService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListBranches', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListBranches', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DownloadSQLLogsRecords', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DownloadSQLLogsRecords', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], [ 'apiName' => 'PauseSupabaseProject', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:PauseSupabaseProject', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], [ 'apiName' => 'ModifyBackupPolicy', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyBackupPolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeModelService', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeModelService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'TagSupabaseProject', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:TagSupabaseProject', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CheckServiceLinkedRole', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:CheckServiceLinkedRole', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetSaasService', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetSaasService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DisableDBResourceGroup', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:DisableDBResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListExternalDataServices', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListExternalDataServices', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListDatabases', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListDatabases', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteAINode', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:DeleteAINode', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteNamespace', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:DeleteNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'conditional', 'product' => 'GPDB', 'resourceType' => 'Namespace', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:namespace/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CheckJDBCSourceNetConnection', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'gpdb:CheckJDBCSourceNetConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifyDBInstanceNetworkType', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyDBInstanceNetworkType', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CreateExternalDataService', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateExternalDataService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListInstanceDatabases', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'gpdb:ListInstanceDatabases', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifyRemoteADBDataSource', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyRemoteADBDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeLogBackups', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeLogBackups', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDataSharePerformance', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDataSharePerformance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateDBInstance', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateDBInstance', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'gpdb:EncryptionType', 'validationType' => 'always'], ['conditionKey' => 'gpdb:SSLEnabled', 'validationType' => 'always'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/*'], ], ], ], [ 'apiName' => 'UpgradeDBInstance', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:UpgradeDBInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListStreamingJobs', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'gpdb:ListStreamingJobs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifyDBInstanceMaintainTime', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyDBInstanceMaintainTime', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeIMVInfos', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeIMVInfos', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeAvailableResources', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeAvailableResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ResetSupabaseProjectPassword', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ResetSupabaseProjectPassword', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], [ 'apiName' => 'ResumeDataRedistribute', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ResumeDataRedistribute', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CreateAccount', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateAccount', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeAIService', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:DescribeAIService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifySQLCollectorPolicy', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifySQLCollectorPolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifyVectorConfiguration', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ModifyVectorConfiguration', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], [ 'apiName' => 'ModifyExternalDataService', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyExternalDataService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifySupabaseAutoScalePolicy', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifySupabaseAutoScalePolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ], ], ], [ 'apiName' => 'RebalanceDBInstance', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:RebalanceDBInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], [ 'apiName' => 'CreateModelService', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateModelService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDatabase', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDatabase', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ModifyDBInstanceSSL', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyDBInstanceSSL', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ModifyAccountDescription', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:ModifyAccountDescription', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'EnableDBResourceGroup', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:EnableDBResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'DescribeDownloadRecords', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDownloadRecords', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'SetDataShareInstance', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'gpdb:SetDataShareInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateSupabaseProject', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateSupabaseProject', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/*'], ], ], ], [ 'apiName' => 'DescribeDBInstanceSSL', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDBInstanceSSL', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'ListTagResources', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:ListTagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/*'], ], ], ], [ 'apiName' => 'DescribeDataReDistributeInfo', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeDataReDistributeInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#dbinstanceId}'], ], ], ], [ 'apiName' => 'GetAccount', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:GetAccount', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeParameters', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'gpdb:DescribeParameters', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'RestartDBInstance', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'gpdb:RestartDBInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], [ 'apiName' => 'CreateStreamingDataService', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'gpdb:CreateStreamingDataService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'GPDB', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ], ], ], ], 'resourceTypes' => [ ['validationType' => 'always', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/{#DBInstanceId}'], ['validationType' => 'always', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}'], ['validationType' => 'always', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb::{#accountId}:dbinstance/{#DBInstanceId}'], ['validationType' => 'always', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/{#ProjectId}'], ['validationType' => 'always', 'resourceType' => 'DBInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbinstance/*'], ['validationType' => 'always', 'resourceType' => 'Workspace', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:workspace/*'], ['validationType' => 'always', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:document/{#DBInstanceId}'], ['validationType' => 'always', 'resourceType' => 'Collection', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ['validationType' => 'always', 'resourceType' => 'Snapshot', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:snapshot/*'], ['validationType' => 'always', 'resourceType' => 'DataAPI', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dataapi/*'], ['validationType' => 'always', 'resourceType' => 'Namespace', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:namespace/{#DBInstanceId}'], ['validationType' => 'always', 'resourceType' => 'Secret', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:secret/*'], ['validationType' => 'always', 'resourceType' => 'Branch', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:branch/{#BranchId}'], ['validationType' => 'always', 'resourceType' => 'SupabaseProject', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:supabaseproject/*'], ['validationType' => 'always', 'resourceType' => 'dbInstance', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:dbInstance/*'], ['validationType' => 'always', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:collection/{#DBInstanceId}'], ['validationType' => 'always', 'resourceType' => 'Document', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:instance/{#DBInstanceId}/document/{#Document}'], ['validationType' => 'always', 'resourceType' => 'Branch', 'arn' => 'acs:gpdb:{#regionId}:{#accountId}:branch/*'], ], ], ];