'1.0', 'info' => ['style' => 'RPC', 'product' => 'dms-dg', 'version' => '2023-09-14'], 'directories' => ['AddDatabase', 'AddDatabaseList', 'CheckDGEnabled', 'ConnectDatabase', 'CreateGatewayVerifyCode', 'DeleteGatewayInstance', 'DownloadGatewayProgram', 'FindUserGatewayById', 'GetUserDatabases', 'GetUserGatewayInstances', 'GetUserGateways', 'ListDatabaseAccessPoint', 'ModifyGateway', 'RetryDatabase', 'StopGateway', 'CreateGateway', 'DeleteDatabase', 'DeleteGateway', 'DescribeRegions', 'ModifyDatabase'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'AddDatabase' => [ 'summary' => 'Use this API to connect databases on other clouds or on-premises to Alibaba Cloud.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197520', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'GatewayId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the gateway.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dg-8d9bqu1030m****', 'title' => ''], ], [ 'name' => 'Host', 'in' => 'formData', 'schema' => ['description' => 'The database endpoint, as accessible from the gateway.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '127.0.XX.XX', 'title' => ''], ], [ 'name' => 'Port', 'in' => 'formData', 'schema' => ['description' => 'The database port, as accessible from the gateway.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '3306', 'title' => ''], ], [ 'name' => 'DbType', 'in' => 'formData', 'schema' => ['description' => 'The database type.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'MYSQL', 'title' => ''], ], [ 'name' => 'DbUserName', 'in' => 'formData', 'schema' => ['description' => 'The database username.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'test_usr', 'title' => ''], ], [ 'name' => 'DbPassword', 'in' => 'formData', 'schema' => ['description' => 'The database password.'."\n" ."\n" .'> This password is used only to verify the connection and is not used for other operations.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '1234!2#%A***', 'title' => ''], ], [ 'name' => 'DbDescription', 'in' => 'formData', 'schema' => ['description' => 'A description of the database.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'formData', 'schema' => ['description' => 'The region where the database is located.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DbName', 'in' => 'formData', 'schema' => ['description' => 'The database name.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'formData', 'schema' => ['description' => 'A client-generated token that ensures request idempotence. This token must be unique for each request, be case-sensitive, and have a maximum length of 64 ASCII characters.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'SYSTEM_ERR', 'title' => ''], 'RequestId' => ['description' => 'The request ID. This unique identifier, generated by Alibaba Cloud, helps you troubleshoot issues.', 'type' => 'string', 'example' => 'A8B2EED2-70EF-51F1-8820-914F9AC9BAD2', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- **true**: The request was successful.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'DbInstance' => [ 'description' => 'Details of the database connection instance.', 'type' => 'object', 'properties' => [ 'Port' => ['description' => 'The port used to access the database from the gateway\'s host.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => '3306'], 'Host' => ['description' => 'The address used to access the database from the gateway\'s host.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => '127.0.0.1'], 'GatewayId' => ['description' => 'The ID of the gateway.', 'type' => 'string', 'deprecated' => false, 'required' => true, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'dg-8d9bqu1030*****'], 'DbType' => ['description' => 'The database type.', 'type' => 'string', 'deprecated' => false, 'required' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'MYSQL'], 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'deprecated' => false, 'required' => true, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'cn-hangzhou'], 'ConnectHost' => ['description' => 'The host address for the database connection, as mapped by the Database Gateway.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => '10.0.0.1'], 'ConnectPort' => ['description' => 'The port for the database connection, as mapped by the Database Gateway.', 'type' => 'integer', 'format' => 'int32', 'deprecated' => false, 'example' => '32875', 'title' => ''], 'ServiceType' => ['description' => 'The service type of the Database Gateway.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'ECS'], 'NetworkType' => ['description' => 'The network type of the Database Gateway.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'VPC'], 'NodeId' => ['description' => 'The node ID of the Database Gateway.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'dg-node-r0SR-E90lsIR*****'], 'InstanceStatus' => [ 'description' => 'The status of the database connection instance.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'enum' => ['SUCCESS', 'EXCEPTION', 'INIT', 'DELETED'], 'title' => '', 'example' => 'SUCCESS', ], 'DbDescription' => ['description' => 'The description of the database connection instance.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'test'], 'InstanceId' => ['description' => 'The database connection instance ID.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'dg-db-rgfg9p4586o*****'], 'GatewayName' => ['description' => 'The name of the gateway.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'test'], 'UserId' => ['description' => 'The user ID.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => '167xxxxxxxxxx'], 'ParentId' => ['description' => 'The ID of the main account that owns the resource.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => '167xxxxxxxxxx'], 'VpcId' => ['title' => 'VpcId', 'description' => 'The ID of the Database Gateway\'s VPC.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'example' => 'vpc-xxxxx'], 'VpcInstanceId' => ['title' => 'VpcInstanceId', 'description' => 'The ID of the instance on which the Database Gateway is running.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'example' => 'i-xxxxxxx'], ], 'title' => '', 'example' => '', ], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The API action that was denied.', 'type' => 'string', 'example' => 'dms-dg:AddDatabase', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The identifier of the principal that made the request.', 'type' => 'string', 'example' => '23894333884425****', 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The ID of the Alibaba Cloud account to which the principal belongs.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The type of the principal.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The complete, encrypted diagnostic message.', 'type' => 'string', 'example' => 'AQFpaFA9aWhQPUVGNTY4MDU3LTE1OEQtMzYwMi05RkM5LUM0MEJGRjA4RkExOQ==', 'title' => ''], 'NoPermissionType' => ['description' => 'The type of permission denial.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], 'PolicyType' => ['description' => 'The policy type that caused the authentication failure.', 'type' => 'string', 'example' => 'COST_OPTIMIZED', 'title' => ''], ], 'description' => 'Details about the access denial.', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"ErrorMsg\\": \\"SYSTEM_ERR\\",\\n \\"RequestId\\": \\"A8B2EED2-70EF-51F1-8820-914F9AC9BAD2\\",\\n \\"Success\\": true,\\n \\"DbInstance\\": {\\n \\"Port\\": 3306,\\n \\"Host\\": \\"127.0.0.1\\",\\n \\"GatewayId\\": \\"dg-8d9bqu1030*****\\",\\n \\"DbType\\": \\"MYSQL\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ConnectHost\\": \\"10.0.0.1\\",\\n \\"ConnectPort\\": 32875,\\n \\"ServiceType\\": \\"ECS\\",\\n \\"NetworkType\\": \\"VPC\\",\\n \\"NodeId\\": \\"dg-node-r0SR-E90lsIR*****\\",\\n \\"InstanceStatus\\": \\"SUCCESS\\",\\n \\"DbDescription\\": \\"test\\",\\n \\"InstanceId\\": \\"dg-db-rgfg9p4586o*****\\",\\n \\"GatewayName\\": \\"test\\",\\n \\"UserId\\": \\"167xxxxxxxxxx\\",\\n \\"ParentId\\": \\"167xxxxxxxxxx\\",\\n \\"VpcId\\": \\"vpc-xxxxx\\",\\n \\"VpcInstanceId\\": \\"i-xxxxxxx\\"\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:AddDatabase\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFpaFA9aWhQPUVGNTY4MDU3LTE1OEQtMzYwMi05RkM5LUM0MEJGRjA4RkExOQ==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\"\\n }\\n}","type":"json"}]', 'title' => 'Connect to a database through DG', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], 'AddDatabaseList' => [ 'summary' => 'Adds multiple databases to a gateway in a batch operation.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197527', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'DatabaseString', 'in' => 'formData', 'schema' => ['description' => 'A JSON string that contains information about the databases to add.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '[{"host":"127.0.0.1","port":"3306","gatewayId":"dg-xsdasdasdas****"}]', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'formData', 'schema' => ['description' => 'A unique, client-generated token that ensures request idempotency. The token is case-sensitive and can be up to 64 ASCII characters long.', 'type' => 'string', 'required' => false, 'example' => 'ETnLKlblzczshOTUbOCzxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Data' => ['description' => 'The result of the operation.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'ERROR', 'title' => ''], 'RequestId' => ['description' => 'The request ID. You can use this ID to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => '514F794F-7E30-5DAA-97C0-0B0D75DA0259', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request succeeded. Valid values:'."\n" ."\n" .'- **true**: The request succeeded.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The API name.', 'type' => 'string', 'example' => 'dms-dg:AddDatabaseList', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The principal that initiated the request.', 'type' => 'string', 'example' => '23894333884425****', 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The ID of the main account that the principal belongs to.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The type of the principal.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The complete, encoded diagnostic information.', 'type' => 'string', 'example' => 'AQFpaFA9aWhQPUVGNTY4MDU3LTE1OEQtMzYwMi05RkM5LUM0MEJGRjA4RkExOQ==', 'title' => ''], 'NoPermissionType' => ['description' => 'The reason for the authorization failure.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], 'PolicyType' => ['description' => 'The type of policy that caused the authorization failure.', 'type' => 'string', 'example' => 'COST_OPTIMIZED', 'title' => ''], ], 'description' => 'Details about the request failure.', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Data\\": \\"SUCCESS\\",\\n \\"ErrorMsg\\": \\"ERROR\\",\\n \\"RequestId\\": \\"514F794F-7E30-5DAA-97C0-0B0D75DA0259\\",\\n \\"Success\\": true,\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:AddDatabaseList\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFpaFA9aWhQPUVGNTY4MDU3LTE1OEQtMzYwMi05RkM5LUM0MEJGRjA4RkExOQ==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\"\\n }\\n}","type":"json"}]', 'title' => 'Batch connect databases through DG', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], 'CheckDGEnabled' => [ 'summary' => 'Checks if Database Gateway (DG) is enabled.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197534', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Data' => ['description' => 'The response data.', 'type' => 'string', 'example' => 'true', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message returned if the request fails.', 'type' => 'string', 'example' => 'Not activated', 'title' => ''], 'RequestId' => ['description' => 'The request ID, used to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => '8F29E3E9-2847-53BF-ADF0-130E3CEA5C63', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- **true**: The request was successful.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The API name.', 'type' => 'string', 'example' => 'dms-dg:CheckDGEnabled', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The principal that initiated the request.', 'type' => 'string', 'example' => '23894333884425****', 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The ID of the Alibaba Cloud account that owns the principal.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The principal type.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The encoded diagnostic message.', 'type' => 'string', 'example' => 'AQFpaFA9aWhQPUVGNTY4MDU3LTE1OEQtMzYwMi05RkM5LUM0MEJGRjA4RkExOQ==', 'title' => ''], 'NoPermissionType' => ['description' => 'The cause of the authorization failure.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], 'PolicyType' => ['description' => 'The policy type that caused the authorization failure.', 'type' => 'string', 'example' => 'COST_OPTIMIZED', 'title' => ''], ], 'description' => 'Details about the access denial.', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Data\\": \\"true\\",\\n \\"ErrorMsg\\": \\"Not activated\\",\\n \\"RequestId\\": \\"8F29E3E9-2847-53BF-ADF0-130E3CEA5C63\\",\\n \\"Success\\": true,\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:CheckDGEnabled\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFpaFA9aWhQPUVGNTY4MDU3LTE1OEQtMzYwMi05RkM5LUM0MEJGRjA4RkExOQ==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\"\\n }\\n}","type":"json"}]', 'title' => 'Check whether the current user has activated the Database Gateway product', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'translator' => 'machine', ], 'ConnectDatabase' => [ 'summary' => 'Call this API to test database connectivity.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197505', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ 'name' => 'GatewayId', 'in' => 'formData', 'schema' => ['description' => 'The gateway ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dg-58c36y906675****', 'title' => ''], ], [ 'name' => 'Host', 'in' => 'formData', 'schema' => ['description' => 'The address used to access the database via the gateway host.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '127.0.XX.XX', 'title' => ''], ], [ 'name' => 'Port', 'in' => 'formData', 'schema' => ['description' => 'The port used to access the database via the gateway host.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '3306', 'title' => ''], ], [ 'name' => 'DbType', 'in' => 'formData', 'schema' => ['description' => 'The database type.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'MYSQL', 'title' => ''], ], [ 'name' => 'DbUserName', 'in' => 'formData', 'schema' => ['description' => 'The database username.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'test_usr'."\n", 'title' => ''], ], [ 'name' => 'DbPassword', 'in' => 'formData', 'schema' => ['description' => 'The database password.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '1234!2#%A****'."\n", 'title' => ''], ], [ 'name' => 'DbName', 'in' => 'formData', 'schema' => ['description' => 'The database name.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Data' => ['description' => 'The response data.', 'type' => 'string', 'example' => 'OK', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Gateway exception, please launch local dg first', 'title' => ''], 'RequestId' => ['description' => 'The request ID, used for log tracing and troubleshooting.', 'type' => 'string', 'example' => 'F4EFCDC5-E69C-5A6F-B170-C5379D9D6811', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- **true**: The request was successful.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The API operation name.', 'type' => 'string', 'example' => 'dms-dg:ConnectDatabase', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The display name of the identity that made the request.', 'type' => 'string', 'example' => '23894333884425****', 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The ID of the account that owns the principal.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The principal type.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The encoded full diagnostic message.', 'type' => 'string', 'example' => 'AQFpaFA9aWhQPUVGNTY4MDU3LTE1OEQtMzYwMi05RkM5LUM0MEJGRjA4RkExOQ==', 'title' => ''], 'NoPermissionType' => ['description' => 'The type of denial that led to the authentication failure.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], 'PolicyType' => ['description' => 'The type of policy that resulted in the access denial.', 'type' => 'string', 'example' => 'COST_OPTIMIZED', 'title' => ''], ], 'description' => 'Details returned when a request fails due to insufficient permissions.', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Data\\": \\"OK\\",\\n \\"ErrorMsg\\": \\"Gateway exception, please launch local dg first\\",\\n \\"RequestId\\": \\"F4EFCDC5-E69C-5A6F-B170-C5379D9D6811\\",\\n \\"Success\\": true,\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:ConnectDatabase\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFpaFA9aWhQPUVGNTY4MDU3LTE1OEQtMzYwMi05RkM5LUM0MEJGRjA4RkExOQ==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\"\\n }\\n}","type":"json"}]', 'title' => 'Database Connectivity Testing', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], 'CreateGateway' => [ 'summary' => 'Creates a new database gateway.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197507', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'GatewayName', 'in' => 'formData', 'schema' => ['description' => 'The name of the database gateway.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DG', 'title' => ''], ], [ 'name' => 'GatewayDesc', 'in' => 'formData', 'schema' => ['description' => 'The description of the database gateway.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'DG_Test', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'formData', 'schema' => ['description' => 'The region where the database gateway is created.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Data' => ['description' => 'The ID of the created database gateway.', 'type' => 'string', 'example' => 'dg-nmz841r7b681****', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Gateway exception, please launch local dg first', 'title' => ''], 'RequestId' => ['description' => 'The request ID for tracing and troubleshooting.', 'type' => 'string', 'example' => 'A9A8885B-3626-592E-9149-8D2971A545AD', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- **true**: The request was successful.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The API name.', 'type' => 'string', 'example' => 'dms-dg:CreateGateway', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The display name of the requesting principal.', 'type' => 'string', 'example' => '23894333884425****', 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The ID of the principal\'s owner.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The type of the principal.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The encoded, full diagnostic message.', 'type' => 'string', 'example' => 'AQEAAAAAaaZEZjJGOTRFMjY0LUZCREUtNTY0MS04N0MzLTAzMkZEMzBBMzE3RQ==', 'title' => ''], 'NoPermissionType' => ['description' => 'The type of permission failure.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], 'PolicyType' => ['description' => 'The type of policy that caused the access denial.', 'type' => 'string', 'example' => 'COST_OPTIMIZED', 'title' => ''], ], 'description' => 'Details about the access denial.', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Data\\": \\"dg-nmz841r7b681****\\",\\n \\"ErrorMsg\\": \\"Gateway exception, please launch local dg first\\",\\n \\"RequestId\\": \\"A9A8885B-3626-592E-9149-8D2971A545AD\\",\\n \\"Success\\": true,\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:CreateGateway\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQEAAAAAaaZEZjJGOTRFMjY0LUZCREUtNTY0MS04N0MzLTAzMkZEMzBBMzE3RQ==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\"\\n }\\n}","type":"json"}]', 'title' => 'Create Gateway', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], 'CreateGatewayVerifyCode' => [ 'summary' => 'Generates a verification code to link an on-premises Database Gateway installation to its corresponding gateway in the cloud.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197526', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ 'name' => 'GatewayId', 'in' => 'formData', 'schema' => ['description' => 'The gateway ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dg-8e0j08630s08****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Data' => ['description' => 'The generated verification code.', 'type' => 'string', 'example' => '0N3ufVIG43RRAs7diEoep6WHVOHPKj3a', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Gateway exception, please launch local dg first', 'title' => ''], 'RequestId' => ['description' => 'The request ID. Use this ID to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => 'C9ADD2AA-27E3-5D62-A676-092EDC5303C1', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- **true**: The request was successful.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The API name.', 'type' => 'string', 'example' => 'dms-dg:CreateGatewayVerifyCode', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The display name of the authenticating principal.', 'type' => 'string', 'example' => '23894333884425****', 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The ID of the principal owner.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The principal type.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The encoded diagnostic message.', 'type' => 'string', 'example' => 'AQFpaFA9aWhQPUVGNTY4MDU3LTE1OEQtMzYwMi05RkM5LUM0MEJGRjA4RkExOQ==', 'title' => ''], 'NoPermissionType' => ['description' => 'The reason for the authorization failure.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], 'PolicyType' => ['description' => 'The policy type that caused the authorization failure.', 'type' => 'string', 'example' => 'COST_OPTIMIZED', 'title' => ''], ], 'description' => 'Access denial details.', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Data\\": \\"0N3ufVIG43RRAs7diEoep6WHVOHPKj3a\\",\\n \\"ErrorMsg\\": \\"Gateway exception, please launch local dg first\\",\\n \\"RequestId\\": \\"C9ADD2AA-27E3-5D62-A676-092EDC5303C1\\",\\n \\"Success\\": true,\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:CreateGatewayVerifyCode\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFpaFA9aWhQPUVGNTY4MDU3LTE1OEQtMzYwMi05RkM5LUM0MEJGRjA4RkExOQ==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\"\\n }\\n}","type":"json"}]', 'title' => 'Generate a verification code required for offline gateway installation', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], 'DeleteDatabase' => [ 'summary' => 'Deletes a database from a database gateway.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197529', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the database instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'db-22h1qa9d452f****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Data' => ['description' => 'The operation result.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Gateway exception, please launch local dg first', 'title' => ''], 'RequestId' => ['description' => 'The request ID. You can use this ID to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => 'B9FB545B-03E3-5AE3-9D9E-2FE26EE2C48F', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- **true**: The request was successful.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The API name.', 'type' => 'string', 'example' => 'dms-dg:DeleteDatabase', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The display name of the principal.', 'type' => 'string', 'example' => '23894333884425****', 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The ID of the principal\'s owner.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The type of the principal.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The encoded complete diagnostic message.', 'type' => 'string', 'example' => 'AQFpaFA9aWhQPUVGNTY4MDU3LTE1OEQtMzYwMi05RkM5LUM0MEJGRjA4RkExOQ==', 'title' => ''], 'NoPermissionType' => ['description' => 'The reason for the authorization failure.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], 'PolicyType' => ['description' => 'The policy type that caused the authorization failure.', 'type' => 'string', 'example' => 'COST_OPTIMIZED', 'title' => ''], ], 'description' => 'Details about the authorization failure.', 'title' => '', 'example' => '', ], ], 'description' => 'The response.', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Data\\": \\"SUCCESS\\",\\n \\"ErrorMsg\\": \\"Gateway exception, please launch local dg first\\",\\n \\"RequestId\\": \\"B9FB545B-03E3-5AE3-9D9E-2FE26EE2C48F\\",\\n \\"Success\\": true,\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:DeleteDatabase\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFpaFA9aWhQPUVGNTY4MDU3LTE1OEQtMzYwMi05RkM5LUM0MEJGRjA4RkExOQ==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\"\\n }\\n}","type":"json"}]', 'title' => 'Delete Database', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], 'DeleteGateway' => [ 'summary' => 'Deletes the specified gateway.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197522', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ 'name' => 'GatewayId', 'in' => 'formData', 'schema' => ['description' => 'The gateway ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dg-nmz841r7b681****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Data' => ['description' => 'The result of the operation.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Gateway exception, please launch local dg first', 'title' => ''], 'RequestId' => ['description' => 'The Request ID. Use this ID to trace logs and troubleshoot issues.', 'type' => 'string', 'example' => '8F29E3E9-2847-53BF-ADF0-130E3CEA5C63', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'- **true**: The request was successful.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The API operation.', 'type' => 'string', 'example' => 'dms-dg:DeleteGateway', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The display name of the principal that requested authorization.', 'type' => 'string', 'example' => '23894333884425****', 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The ID of the principal\'s owner.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The principal type.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The full, encrypted diagnostic message.', 'type' => 'string', 'example' => 'AQEAAAAAaYFcQjgzQThBRTMyLUE0RTItNUVDNy1BNkI3LTZFMjVCMUEyQUEzRQ==', 'title' => ''], 'NoPermissionType' => ['description' => 'The cause of the authorization failure.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], 'PolicyType' => ['description' => 'The policy type that caused the authorization failure.', 'type' => 'string', 'example' => 'COST_OPTIMIZED', 'title' => ''], ], 'description' => 'Details about the authorization failure.', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Data\\": \\"SUCCESS\\",\\n \\"ErrorMsg\\": \\"Gateway exception, please launch local dg first\\",\\n \\"RequestId\\": \\"8F29E3E9-2847-53BF-ADF0-130E3CEA5C63\\",\\n \\"Success\\": true,\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:DeleteGateway\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQEAAAAAaYFcQjgzQThBRTMyLUE0RTItNUVDNy1BNkI3LTZFMjVCMUEyQUEzRQ==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\"\\n }\\n}","type":"json"}]', 'title' => 'Delete Gateway', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], 'DeleteGatewayInstance' => [ 'summary' => 'Deletes the specified database gateway instance.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197518', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ 'name' => 'GatewayId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the gateway.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dg-nmz841r7b681****', 'title' => ''], ], [ 'name' => 'GatewayInstanceId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the gateway instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dg-node-QeH6VfT8GRnPrYWX****', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'formData', 'schema' => ['description' => 'The region where the gateway is located.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Data' => ['description' => 'The result of the operation.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Gateway exception, please launch local dg first', 'title' => ''], 'RequestId' => ['description' => 'The request ID. You can use this ID to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => '8F29E3E9-2847-53BF-ADF0-130E3CEA5C63', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- **true**: The request was successful.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The name of the API operation.', 'type' => 'string', 'example' => 'dms-dg:DeleteGatewayInstance', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The display name of the authenticating principal.', 'type' => 'string', 'example' => '23894333884425****', 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The owner ID of the principal.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The type of the principal.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The encrypted full diagnostic message.', 'type' => 'string', 'example' => 'AQEAAAAAaKvGBjQwQzQ3OUI0LUVDNjQtNTIwQi1CRENDLTY5MDVDQ0Y3N0MxRA==', 'title' => ''], 'NoPermissionType' => ['description' => 'The reason for the authorization failure.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], 'PolicyType' => ['description' => 'The type of policy that caused the authorization failure.', 'type' => 'string', 'example' => 'COST_OPTIMIZED', 'title' => ''], ], 'description' => 'The details of the request failure.', 'title' => '', 'example' => '', ], ], 'description' => 'The response.', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Data\\": \\"SUCCESS\\",\\n \\"ErrorMsg\\": \\"Gateway exception, please launch local dg first\\",\\n \\"RequestId\\": \\"8F29E3E9-2847-53BF-ADF0-130E3CEA5C63\\",\\n \\"Success\\": true,\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:DeleteGatewayInstance\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQEAAAAAaKvGBjQwQzQ3OUI0LUVDNjQtNTIwQi1CRENDLTY5MDVDQ0Y3N0MxRA==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\"\\n }\\n}","type":"json"}]', 'title' => 'Delete Gateway Edge Zone', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], 'DescribeRegions' => [ 'summary' => 'Queries the regions where you can create database gateways.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197516', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'formData', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Gateway exception, please launch local dg first', 'title' => ''], 'RequestId' => ['description' => 'The request ID. You can use this ID to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => 'B0557F7A-62C3-50DC-9E09-77CAE658F776', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request succeeded. Valid values:'."\n" ."\n" .'- **true**: The request succeeded.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Regions' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Region' => [ 'description' => 'The list of regions.', 'type' => 'array', 'items' => [ 'description' => 'The details of a region.', 'type' => 'object', 'properties' => [ 'RegionEndpoint' => ['description' => 'The endpoint of the region.', 'type' => 'string', 'example' => 'dg.cn-hangzhou.aliyuncs.com', 'title' => ''], 'LocalName' => ['description' => 'The region name.', 'type' => 'string', 'example' => '杭州', 'title' => ''], 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The name of the API operation.', 'type' => 'string', 'example' => 'dms-dg:DescribeRegions', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The identity used for authentication.', 'type' => 'string', 'example' => '23894333884425****', 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The ID of the owner of the authorized principal.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The type of the authorized principal.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The encoded diagnostic information.', 'type' => 'string', 'example' => 'AQFoXfyYaF38mEJGQzU4RDlDLTdFNzItNTYxMi1CM0ZDLUZBODQxQjVGNjdDOA==', 'title' => ''], 'NoPermissionType' => ['description' => 'The reason for the authorization failure.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], 'PolicyType' => ['description' => 'The type of the policy that caused the authorization failure.', 'type' => 'string', 'example' => 'COST_OPTIMIZED', 'title' => ''], ], 'description' => 'Details about the access denied error.', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"ErrorMsg\\": \\"Gateway exception, please launch local dg first\\",\\n \\"RequestId\\": \\"B0557F7A-62C3-50DC-9E09-77CAE658F776\\",\\n \\"Success\\": true,\\n \\"Regions\\": {\\n \\"Region\\": [\\n {\\n \\"RegionEndpoint\\": \\"dg.cn-hangzhou.aliyuncs.com\\",\\n \\"LocalName\\": \\"杭州\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:DescribeRegions\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFoXfyYaF38mEJGQzU4RDlDLTdFNzItNTYxMi1CM0ZDLUZBODQxQjVGNjdDOA==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\"\\n }\\n}","type":"json"}]', 'title' => 'Obtain the regions supported by Database Gateway ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], 'DownloadGatewayProgram' => [ 'summary' => 'Retrieves the download URL for the gateway program. Any Alibaba Cloud user can call this operation without requiring permissions.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197530', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'UserOS', 'in' => 'formData', 'schema' => ['description' => 'The operating system of the gateway.', 'type' => 'string', 'required' => false, 'example' => 'LINUX', 'title' => ''], ], [ 'name' => 'DgVersion', 'in' => 'formData', 'schema' => ['description' => 'The DG version.', 'type' => 'string', 'required' => false, 'example' => '3.0', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Data' => ['description' => 'The response data.', 'type' => 'string', 'example' => 'https://dg-prod-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/dg3-pkgs/DBGateway_linux?Expires=170833****&OSSAccessKeyId=*************&Signature=****************', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Gateway exception, please launch local dg first', 'title' => ''], 'RequestId' => ['description' => 'The request ID. Use this ID to track and troubleshoot your request.', 'type' => 'string', 'example' => '15D856B8-A95C-5DA5-B0FC-67246286EA7F', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- **true**: The request was successful.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The API operation name.', 'type' => 'string', 'example' => 'dms-dg:DownloadGatewayProgram', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The identity that is used to access the resource.', 'type' => 'string', 'example' => '23894333884425****', 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The ID of the Alibaba Cloud account that owns the principal.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The type of the principal.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The encoded diagnostic information.', 'type' => 'string', 'example' => 'AQEAAAAAaGXktUZBOTgwNkQwLTY5ODYtNTlGNC1CQTlELTk1NjlEMjA2NDAyRA==', 'title' => ''], 'NoPermissionType' => ['description' => 'The reason for the authorization failure.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], 'PolicyType' => ['description' => 'The type of the policy that denies the access.', 'type' => 'string', 'example' => 'COST_OPTIMIZED', 'title' => ''], ], 'description' => 'The request failure details.', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Data\\": \\"https://dg-prod-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/dg3-pkgs/DBGateway_linux?Expires=170833****&OSSAccessKeyId=*************&Signature=****************\\",\\n \\"ErrorMsg\\": \\"Gateway exception, please launch local dg first\\",\\n \\"RequestId\\": \\"15D856B8-A95C-5DA5-B0FC-67246286EA7F\\",\\n \\"Success\\": true,\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:DownloadGatewayProgram\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQEAAAAAaGXktUZBOTgwNkQwLTY5ODYtNTlGNC1CQTlELTk1NjlEMjA2NDAyRA==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\"\\n }\\n}","type":"json"}]', 'title' => 'Obtain the download URL of the gateway program', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], 'FindUserGatewayById' => [ 'summary' => 'Retrieves the details of a gateway, including the user who created it and the number of running gateway instances.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197510', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ 'name' => 'GatewayId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the gateway.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dg-nmz841r7b681****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Gateway exception, please launch local dg first', 'title' => ''], 'RequestId' => ['description' => 'The request ID, used to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => '41FC4DFE-EA8A-5A56-A16C-F607C3409C79', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- **true**: The request succeeded.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Gateway' => [ 'description' => 'The details of the gateway.', 'type' => 'object', 'properties' => [ 'GatewayDesc' => ['description' => 'The description of the gateway.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'title' => '', 'example' => 'test'], 'GatewayName' => ['description' => 'The name of the gateway.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'test'], 'RegionId' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'], 'GatewayId' => ['description' => 'The ID of the gateway.', 'type' => 'string', 'title' => '', 'example' => 'dg-pv33g51gw69h****'], 'Status' => [ 'description' => 'The status of the gateway.', 'type' => 'string', 'enum' => ['RUNNING', 'NEW', 'STOPPED', 'EXCEPTION'], 'title' => '', 'example' => 'RUNNING', ], 'UserId' => ['description' => 'The user ID.', 'type' => 'string', 'title' => '', 'example' => '100****'], 'CreatorId' => ['description' => 'The user who created the gateway.', 'type' => 'string', 'example' => 'test_user', 'title' => ''], 'DgVersion' => ['description' => 'The version of DG.', 'type' => 'string', 'example' => '3.0', 'title' => ''], 'ExceptionMsg' => ['description' => 'The exception message.', 'type' => 'string', 'example' => 'Gateway exception, please launch local dg first', 'title' => ''], 'NumOfExceptionInstance' => ['description' => 'The number of gateway instances that are in an exception state.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], 'NumOfRunningInstance' => ['description' => 'The number of running gateway instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], ], 'title' => '', 'example' => '', ], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The API operation that was called.', 'type' => 'string', 'example' => 'dms-dg:FindUserGatewayById', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The identity used for authentication in the request.', 'type' => 'string', 'example' => '23894333884425****', 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The ID of the owner of the authorization principal.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The type of the authorization principal.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The complete, encoded diagnostic message.', 'type' => 'string', 'example' => 'AQEAAAAAaEo6p0VFOTM5RkEwLTRBRUItNTA5NS04Q0JGLTJFRjUxNDJDRjkwQg==', 'title' => ''], 'NoPermissionType' => ['description' => 'The reason the authentication failed.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], 'PolicyType' => ['description' => 'The policy type that caused the authentication failure.', 'type' => 'string', 'example' => 'COST_OPTIMIZED', 'title' => ''], ], 'description' => 'Details of the access denial.', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"ErrorMsg\\": \\"Gateway exception, please launch local dg first\\",\\n \\"RequestId\\": \\"41FC4DFE-EA8A-5A56-A16C-F607C3409C79\\",\\n \\"Success\\": true,\\n \\"Gateway\\": {\\n \\"GatewayDesc\\": \\"test\\",\\n \\"GatewayName\\": \\"test\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"GatewayId\\": \\"dg-pv33g51gw69h****\\",\\n \\"Status\\": \\"RUNNING\\",\\n \\"UserId\\": \\"100****\\",\\n \\"CreatorId\\": \\"test_user\\",\\n \\"DgVersion\\": \\"3.0\\",\\n \\"ExceptionMsg\\": \\"Gateway exception, please launch local dg first\\",\\n \\"NumOfExceptionInstance\\": 3,\\n \\"NumOfRunningInstance\\": 3\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:FindUserGatewayById\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQEAAAAAaEo6p0VFOTM5RkEwLTRBRUItNTA5NS04Q0JGLTJFRjUxNDJDRjkwQg==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\"\\n }\\n}","type":"json"}]', 'title' => 'Obtain the details of a gateway.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], 'GetUserDatabases' => [ 'summary' => 'This API lists the databases in a specified gateway.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197519', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ 'name' => 'GatewayId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the gateway.', 'type' => 'string', 'required' => false, 'example' => 'dg-nmz841r7b681****', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'formData', 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '10', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'formData', 'schema' => ['description' => 'The page number to return.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'SearchKey', 'in' => 'formData', 'schema' => ['description' => 'The keyword for the search.', 'type' => 'string', 'required' => false, 'example' => 'gateway', 'title' => ''], ], [ 'name' => 'DbType', 'in' => 'formData', 'schema' => ['description' => 'The database type.', 'type' => 'string', 'required' => false, 'example' => 'MYSQL'."\n", 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the database instance.', 'type' => 'string', 'required' => false, 'example' => 'db-22h1qa9d452f****'."\n", 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'formData', 'schema' => ['description' => 'The region of the gateway.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Host', 'in' => 'formData', 'schema' => ['description' => 'The host address of the database that the gateway can access.', 'type' => 'string', 'required' => false, 'example' => '127.0.XX.XX', 'title' => ''], ], [ 'name' => 'Port', 'in' => 'formData', 'schema' => ['description' => 'The database port that the gateway can access.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3306', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID. You can use this ID to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => '514F794F-7E30-5DAA-97C0-0B0D75DA0259', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- **true**: The request was successful.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'string', 'example' => 'true', 'title' => ''], 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Gateway exception, please launch local dg first', 'title' => ''], 'Count' => ['description' => 'The number of database instances returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], 'DbInstanceList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DbInstance' => [ 'description' => 'A list of database instances.', 'type' => 'array', 'items' => [ 'description' => 'A database instance.', 'type' => 'object', 'properties' => [ 'Port' => ['description' => 'The database port that is accessible from the gateway host.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => '3306'], 'Host' => ['description' => 'The database host that is accessible from the gateway host.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => '127.0.XX.XX'], 'GatewayId' => ['description' => 'The ID of the gateway.', 'type' => 'string', 'deprecated' => false, 'required' => true, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'dg-pil582nbfe6p****'], 'DbType' => ['description' => 'The database type.', 'type' => 'string', 'deprecated' => false, 'required' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'MYSQL'], 'RegionId' => ['description' => 'The region ID of the database.', 'type' => 'string', 'deprecated' => false, 'required' => true, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'cn-hangzhou'], 'ConnectHost' => ['description' => 'The IP address of the Database Gateway (DG) service proxy.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => '10.0.0.0'], 'ConnectPort' => ['description' => 'The port of the Database Gateway (DG) service proxy.', 'type' => 'integer', 'format' => 'int32', 'deprecated' => false, 'example' => '10001', 'title' => ''], 'ServiceType' => ['description' => 'The type of instance for the Database Gateway (DG) service.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'ECS'], 'NetworkType' => ['description' => 'The network type of the Database Gateway (DG) proxy node.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'VPC'], 'NodeId' => ['description' => 'The ID of the Database Gateway (DG) proxy node.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'dg-node-xxxxx'], 'InstanceStatus' => [ 'description' => 'The status of the database instance.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'enum' => ['SUCCESS', 'EXCEPTION', 'INIT', 'DELETED'], 'title' => '', 'example' => 'SUCCESS', ], 'DbDescription' => ['description' => 'The description of the database instance.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'Test'], 'InstanceId' => ['description' => 'The ID of the database instance.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'db-22h1qa9d452f****'."\n"], 'GatewayName' => ['description' => 'The name of the gateway.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'Test'], 'GmtCreate' => ['description' => 'The creation time of the database instance.', 'type' => 'integer', 'format' => 'int64', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => '2023-05-03 00:00:00'], 'UserId' => ['description' => 'The user ID.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => '100XXXXX'], 'ParentId' => ['description' => 'The ID of the main account.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => '100XXXXX'], 'VpcId' => ['title' => 'VpcId', 'description' => 'The ID of the VPC in which the Database Gateway (DG) service is deployed.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'example' => 'vpc-bp1alpkpdb8fh3avx****'], 'VpcInstanceId' => ['title' => 'VpcInstanceId', 'description' => 'The ID of the instance on which the Database Gateway (DG) service runs.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'example' => 'i-xxxxxxxxxx'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The API operation that was denied access.', 'type' => 'string', 'example' => 'dms-dg:GetUserDatabases', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The display name of the identity that made the request.', 'type' => 'string', 'example' => '23894333884425****', 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The ID of the owner of the authenticated principal.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The type of the authenticated principal.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The encrypted, complete diagnostic message.', 'type' => 'string', 'example' => 'AQEAAAAAaKvGBjQwQzQ3OUI0LUVDNjQtNTIwQi1CRENDLTY5MDVDQ0Y3N0MxRA==', 'title' => ''], 'NoPermissionType' => ['description' => 'The reason for the authorization failure.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], 'PolicyType' => ['description' => 'The type of the policy that caused the authorization failure.', 'type' => 'string', 'example' => 'COST_OPTIMIZED', 'title' => ''], ], 'description' => 'Details about why access was denied. This parameter is returned only if the request fails.', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"514F794F-7E30-5DAA-97C0-0B0D75DA0259\\",\\n \\"Success\\": \\"true\\",\\n \\"Code\\": \\"200\\",\\n \\"ErrorMsg\\": \\"Gateway exception, please launch local dg first\\",\\n \\"Count\\": 100,\\n \\"DbInstanceList\\": {\\n \\"DbInstance\\": [\\n {\\n \\"Port\\": 3306,\\n \\"Host\\": \\"127.0.XX.XX\\",\\n \\"GatewayId\\": \\"dg-pil582nbfe6p****\\",\\n \\"DbType\\": \\"MYSQL\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ConnectHost\\": \\"10.0.0.0\\",\\n \\"ConnectPort\\": 10001,\\n \\"ServiceType\\": \\"ECS\\",\\n \\"NetworkType\\": \\"VPC\\",\\n \\"NodeId\\": \\"dg-node-xxxxx\\",\\n \\"InstanceStatus\\": \\"SUCCESS\\",\\n \\"DbDescription\\": \\"Test\\",\\n \\"InstanceId\\": \\"db-22h1qa9d452f****\\\\n\\",\\n \\"GatewayName\\": \\"Test\\",\\n \\"GmtCreate\\": 0,\\n \\"UserId\\": \\"100XXXXX\\",\\n \\"ParentId\\": \\"100XXXXX\\",\\n \\"VpcId\\": \\"vpc-bp1alpkpdb8fh3avx****\\",\\n \\"VpcInstanceId\\": \\"i-xxxxxxxxxx\\"\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:GetUserDatabases\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQEAAAAAaKvGBjQwQzQ3OUI0LUVDNjQtNTIwQi1CRENDLTY5MDVDQ0Y3N0MxRA==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\"\\n }\\n}","type":"json"}]', 'title' => 'Obtain the database list in the gateway ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], 'GetUserGatewayInstances' => [ 'summary' => 'Call this API to get the details of the gateway node.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197528', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ 'name' => 'GatewayId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the gateway.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dg-nmz841r7b681****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Gateway exception, please launch local dg first', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '514F794F-7E30-5DAA-97C0-0B0D75DA0259', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- **true**: The request was successful.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'GatewayInstanceList' => [ 'description' => 'The list of gateway instances.', 'type' => 'array', 'items' => [ 'description' => 'The gateway instance.', 'type' => 'object', 'properties' => [ 'GatewayInstanceId' => ['description' => 'The gateway instance ID.', 'type' => 'string', 'title' => '', 'example' => 'dg-node-wJOb0tO-gaaWFCug****'], 'GatewayId' => ['description' => 'The gateway ID.', 'type' => 'string', 'title' => '', 'example' => 'dg-159t17m19ps0****'], 'LastUpdateTime' => ['description' => 'The timestamp of the last update to the gateway node.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1699330233000'], 'LocalIP' => ['description' => 'The local IP address.', 'type' => 'string', 'title' => '', 'example' => '127.0.XX.XX'], 'OutputIP' => ['description' => 'The host.', 'type' => 'string', 'title' => '', 'example' => ' 127.0.0.1'], 'Message' => ['description' => 'The message.', 'type' => 'string', 'title' => '', 'example' => 'SUCCESS'], 'EndPoint' => ['description' => 'The endpoint address.', 'type' => 'string', 'title' => '', 'example' => '127.0.XX.XX'], 'CurrentDaemonVersion' => ['description' => 'The version number of the process.', 'type' => 'string', 'title' => '', 'example' => '3.0'], 'CurrentVersion' => ['description' => 'The version number.', 'type' => 'string', 'title' => '', 'example' => '3.0'], 'RegionId' => ['description' => 'The region where the gateway node is located.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], 'ConnectEndpointType' => ['description' => 'The connection type.', 'type' => 'string', 'title' => '', 'example' => 'internet'], 'GatewayInstanceStatus' => ['description' => 'The gateway node status.', 'type' => 'string', 'example' => 'STOPPED', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The API operation.', 'type' => 'string', 'example' => 'dms-dg:GetUserGatewayInstances', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The identity credential used for authentication in the request.', 'type' => 'string', 'example' => '23894333884425****', 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The ID of the authorization principal owner.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The type of the authorization principal.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The encoded complete diagnostic information.', 'type' => 'string', 'example' => 'AQEAAAAAaKvGBjQwQzQ3OUI0LUVDNjQtNTIwQi1CRENDLTY5MDVDQ0Y3N0MxRA==', 'title' => ''], 'NoPermissionType' => ['description' => 'The reason for the authentication failure.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], 'PolicyType' => ['description' => 'The type of policy that caused the authentication failure.', 'type' => 'string', 'example' => 'COST_OPTIMIZED', 'title' => ''], ], 'description' => 'The details of the request failure.', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"ErrorMsg\\": \\"Gateway exception, please launch local dg first\\",\\n \\"RequestId\\": \\"514F794F-7E30-5DAA-97C0-0B0D75DA0259\\",\\n \\"Success\\": true,\\n \\"GatewayInstanceList\\": [\\n {\\n \\"GatewayInstanceId\\": \\"dg-node-wJOb0tO-gaaWFCug****\\",\\n \\"GatewayId\\": \\"dg-159t17m19ps0****\\",\\n \\"LastUpdateTime\\": 1699330233000,\\n \\"LocalIP\\": \\"127.0.XX.XX\\",\\n \\"OutputIP\\": \\" 127.0.0.1\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"EndPoint\\": \\"127.0.XX.XX\\",\\n \\"CurrentDaemonVersion\\": \\"3.0\\",\\n \\"CurrentVersion\\": \\"3.0\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ConnectEndpointType\\": \\"internet\\",\\n \\"GatewayInstanceStatus\\": \\"STOPPED\\"\\n }\\n ],\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:GetUserGatewayInstances\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQEAAAAAaKvGBjQwQzQ3OUI0LUVDNjQtNTIwQi1CRENDLTY5MDVDQ0Y3N0MxRA==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\"\\n }\\n}","type":"json"}]', 'title' => 'Obtain detailed information about gateway edge zones ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], 'GetUserGateways' => [ 'summary' => 'Retrieves a list of user-created Database Gateways.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197533', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ 'name' => 'PageSize', 'in' => 'formData', 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'formData', 'schema' => ['description' => 'The page number to retrieve.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'SearchKey', 'in' => 'formData', 'schema' => ['description' => 'The keyword to search for gateways.', 'type' => 'string', 'required' => false, 'example' => 'gateway', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the region where the gateway is located.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID. Use this ID to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => '41FC4DFE-EA8A-5A56-A16C-F607C3409C79', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- **true**: The request succeeded.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message returned if the request fails.', 'type' => 'string', 'example' => 'Gateway exception, please launch local dg first', 'title' => ''], 'Count' => ['description' => 'The total number of gateways.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], 'GatewayList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Gateway' => [ 'description' => 'An array of gateway details.', 'type' => 'array', 'items' => [ 'description' => 'Details of a gateway.', 'type' => 'object', 'properties' => [ 'GatewayDesc' => ['description' => 'The description of the gateway.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'title' => '', 'example' => 'test'], 'GatewayName' => ['description' => 'The name of the gateway.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'test'], 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'], 'GatewayId' => ['description' => 'The gateway ID.', 'type' => 'string', 'title' => '', 'example' => 'dg-lch384wg5701****'], 'Status' => [ 'description' => 'The status of the gateway.', 'type' => 'string', 'enum' => ['RUNNING', 'NEW', 'STOPPED', 'EXCEPTION'], 'title' => '', 'example' => 'RUNNING', ], 'UserId' => ['description' => 'The user ID.', 'type' => 'string', 'title' => '', 'example' => '100****'], 'CreatorId' => ['description' => 'The ID of the user who created the gateway.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => '100****'], 'DgVersion' => ['description' => 'The version of the gateway.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => '3.0'], 'ExceptionMsg' => ['description' => 'The exception message for the gateway.', 'type' => 'string', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => 'exception'], 'NumOfExceptionInstance' => ['description' => 'The number of instances in an exceptional state.', 'type' => 'integer', 'format' => 'int32', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => '3'], 'NumOfRunningInstance' => ['description' => 'The number of running instances.', 'type' => 'integer', 'format' => 'int32', 'deprecated' => false, 'pattern' => '', 'default' => '', 'title' => '', 'example' => '3'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => 'A list of gateways.', 'title' => '', 'example' => '', ], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The API name.', 'type' => 'string', 'example' => 'dms-dg:GetUserGateways', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The display name of the principal used for authentication.', 'type' => 'string', 'example' => '23894333884425****', 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The principal owner ID.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The type of the principal.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The full encoded diagnostic message.', 'type' => 'string', 'example' => 'AQFprivgaa4r4EEyRDc1QjgxLUY2QkMtNTZDNS1BMkFELTQ5NEUzNURBMjQwNQ==', 'title' => ''], 'NoPermissionType' => ['description' => 'The cause of the authorization failure.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], 'PolicyType' => ['description' => 'The policy type that caused the authorization failure.', 'type' => 'string', 'example' => 'COST_OPTIMIZED', 'title' => ''], ], 'description' => 'Details about the request failure.', 'title' => '', 'example' => '', ], ], 'description' => 'The response object.', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"41FC4DFE-EA8A-5A56-A16C-F607C3409C79\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"ErrorMsg\\": \\"Gateway exception, please launch local dg first\\",\\n \\"Count\\": 20,\\n \\"GatewayList\\": {\\n \\"Gateway\\": [\\n {\\n \\"GatewayDesc\\": \\"test\\",\\n \\"GatewayName\\": \\"test\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"GatewayId\\": \\"dg-lch384wg5701****\\",\\n \\"Status\\": \\"RUNNING\\",\\n \\"UserId\\": \\"100****\\",\\n \\"CreatorId\\": \\"100****\\",\\n \\"DgVersion\\": \\"3.0\\",\\n \\"ExceptionMsg\\": \\"exception\\",\\n \\"NumOfExceptionInstance\\": 3,\\n \\"NumOfRunningInstance\\": 3\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:GetUserGateways\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFprivgaa4r4EEyRDc1QjgxLUY2QkMtNTZDNS1BMkFELTQ5NEUzNURBMjQwNQ==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\"\\n }\\n}","type":"json"}]', 'title' => 'Retrieve gateway list', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], 'ListDatabaseAccessPoint' => [ 'summary' => 'Gets a list of database access points.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '198266', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ 'name' => 'GatewayId', 'in' => 'formData', 'schema' => ['description' => 'The gateway ID.', 'type' => 'string', 'required' => false, 'example' => 'dg-nmz841r7b681****', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'formData', 'schema' => ['description' => 'The number of entries per page.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '10', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'formData', 'schema' => ['description' => 'The page number to return.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'SearchKey', 'in' => 'formData', 'schema' => ['description' => 'The search keyword.', 'type' => 'string', 'required' => false, 'example' => 'gateway', 'title' => ''], ], [ 'name' => 'DbInstanceId', 'in' => 'formData', 'schema' => ['description' => 'The database instance ID.', 'type' => 'string', 'required' => false, 'example' => 'dg-db-n2a285spnpy3****', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the region where the gateway is located.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Host', 'in' => 'formData', 'schema' => ['description' => 'The host address the gateway uses to connect to the database.', 'type' => 'string', 'required' => false, 'example' => '127.0.XX.XX', 'title' => ''], ], [ 'name' => 'Port', 'in' => 'formData', 'schema' => ['description' => 'The port the gateway uses to connect to the database.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'maximum' => '65535', 'minimum' => '0', 'default' => '', 'example' => '3306', 'title' => ''], ], [ 'name' => 'VpcId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the VPC where the database access point is located.', 'type' => 'string', 'required' => false, 'example' => 'vpc-wz9c473cmu2gg7i7l****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID. Use this ID to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => 'C9ADD2AA-27E3-5D62-A676-092EDC5303C1', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- **true**: The request was successful.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'string', 'example' => 'true', 'title' => ''], 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Gateway exception, please launch local dg first', 'title' => ''], 'Count' => ['description' => 'The number of returned database access points.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'DbInstanceAccessPointList' => [ 'description' => 'A list of database access points.', 'type' => 'array', 'items' => [ 'description' => 'A database access point.', 'type' => 'object', 'properties' => [ 'AccessAddr' => ['description' => 'The IP address of the access point.', 'type' => 'string', 'example' => '10.0.0.0', 'title' => ''], 'AccessPort' => ['description' => 'The port number of the access point.', 'type' => 'integer', 'format' => 'int32', 'example' => '33306', 'title' => ''], 'DbInstanceId' => ['description' => 'The ID of the database instance.', 'type' => 'string', 'example' => 'dg-db-n2a285spnpy3****'."\n", 'title' => ''], 'GmtCreate' => ['description' => 'The time the access point was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '2023-03-09 14:20:04.0', 'title' => ''], 'GmtModified' => ['description' => 'The time the access point was last modified.', 'type' => 'integer', 'format' => 'int64', 'example' => '2023-03-09 14:20:04.0', 'title' => ''], 'RouterId' => ['description' => 'The ID of the gateway.', 'type' => 'string', 'example' => 'dg-nmz841r7b681****', 'title' => ''], 'VpcAzoneId' => ['description' => 'The ID of the availability zone that contains the access point.', 'type' => 'string', 'example' => 'cn-hangzhou-j', 'title' => ''], 'VpcId' => ['description' => 'The ID of the VPC that contains the access point.', 'type' => 'string', 'example' => 'vpc-2ze0612ts436tn0sh****', 'title' => ''], 'VswitchId' => ['description' => 'The ID of the VSwitch that contains the access point.', 'type' => 'string', 'example' => 'vsw-8vbgi74rgel72rax4****', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The API operation that was denied.', 'type' => 'string', 'example' => 'dms-dg:ListDatabaseAccessPoint', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The display name of the principal that initiated the request.', 'type' => 'string', 'example' => '23894333884425****', 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The ID of the principal\'s account.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The type of the principal.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The full diagnostic message in encrypted form.', 'type' => 'string', 'example' => 'AQFpaFA9aWhQPUVGNTY4MDU3LTE1OEQtMzYwMi05RkM5LUM0MEJGRjA4RkExOQ==', 'title' => ''], 'NoPermissionType' => ['description' => 'The type of permission error.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], 'PolicyType' => ['description' => 'The policy type that caused the denial.', 'type' => 'string', 'example' => 'COST_OPTIMIZED', 'title' => ''], ], 'description' => 'Details about the access denial.', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C9ADD2AA-27E3-5D62-A676-092EDC5303C1\\",\\n \\"Success\\": \\"true\\",\\n \\"Code\\": \\"200\\",\\n \\"ErrorMsg\\": \\"Gateway exception, please launch local dg first\\",\\n \\"Count\\": 1,\\n \\"DbInstanceAccessPointList\\": [\\n {\\n \\"AccessAddr\\": \\"10.0.0.0\\",\\n \\"AccessPort\\": 33306,\\n \\"DbInstanceId\\": \\"dg-db-n2a285spnpy3****\\\\n\\",\\n \\"GmtCreate\\": 0,\\n \\"GmtModified\\": 0,\\n \\"RouterId\\": \\"dg-nmz841r7b681****\\",\\n \\"VpcAzoneId\\": \\"cn-hangzhou-j\\",\\n \\"VpcId\\": \\"vpc-2ze0612ts436tn0sh****\\",\\n \\"VswitchId\\": \\"vsw-8vbgi74rgel72rax4****\\"\\n }\\n ],\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:ListDatabaseAccessPoint\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFpaFA9aWhQPUVGNTY4MDU3LTE1OEQtMzYwMi05RkM5LUM0MEJGRjA4RkExOQ==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\"\\n }\\n}","type":"json"}]', 'title' => 'Obtain the database endpoint list', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], 'ModifyDatabase' => [ 'summary' => 'This operation modifies database information, such as its description.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197525', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ 'name' => 'Host', 'in' => 'formData', 'schema' => ['description' => 'The address used to connect to the database from the gateway host.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '127.0.XX.XX', 'title' => ''], ], [ 'name' => 'Port', 'in' => 'formData', 'schema' => ['description' => 'The port used to connect to the database from the gateway host.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '3306', 'title' => ''], ], [ 'name' => 'DbType', 'in' => 'formData', 'schema' => ['description' => 'The database type.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'MYSQL', 'title' => ''], ], [ 'name' => 'DbUserName', 'in' => 'formData', 'schema' => ['description' => 'The username used to connect to the database.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'test', 'title' => ''], ], [ 'name' => 'DbPassword', 'in' => 'formData', 'schema' => ['description' => 'The password used to connect to the database.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '817130****', 'title' => ''], ], [ 'name' => 'DbDescription', 'in' => 'formData', 'schema' => ['description' => 'The database description.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => ['description' => 'The database instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dg-db-n2a285spnpy3****'."\n", 'title' => ''], ], [ 'name' => 'DbName', 'in' => 'formData', 'schema' => ['description' => 'The database name.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Data' => ['description' => 'The returned data.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Gateway exception, please launch local dg first', 'title' => ''], 'RequestId' => ['description' => 'The request ID. Use this ID to trace logs and troubleshoot issues.', 'type' => 'string', 'example' => '8F29E3E9-2847-53BF-ADF0-130E3CEA5C63', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- **true**: The request was successful.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true'."\n", 'title' => ''], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The API operation that was performed.', 'type' => 'string', 'example' => 'dms-dg:ModifyDatabase', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The identity used for authentication.', 'type' => 'string', 'example' => '23894333884425****', 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The owner ID of the authorization principal.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The type of the authorization principal.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The encrypted full diagnostic message.', 'type' => 'string', 'example' => 'AQEAAAAAaQQYWjRDMkY1NjE1LTQwRDMtNTIyOS1BQjg0LTg0NDE0OTVCNTIwOA==', 'title' => ''], 'NoPermissionType' => ['description' => 'The reason for the authentication failure.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], 'PolicyType' => ['description' => 'The policy type that caused the authentication failure.', 'type' => 'string', 'example' => 'COST_OPTIMIZED', 'title' => ''], ], 'description' => 'Details about the request failure.', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Data\\": \\"SUCCESS\\",\\n \\"ErrorMsg\\": \\"Gateway exception, please launch local dg first\\",\\n \\"RequestId\\": \\"8F29E3E9-2847-53BF-ADF0-130E3CEA5C63\\",\\n \\"Success\\": true,\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:ModifyDatabase\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQEAAAAAaQQYWjRDMkY1NjE1LTQwRDMtNTIyOS1BQjg0LTg0NDE0OTVCNTIwOA==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\"\\n }\\n}","type":"json"}]', 'title' => 'Modify Database Information', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], 'ModifyGateway' => [ 'summary' => 'Call this API to modify the basic information of a gateway, including the gateway name and gateway description.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197501', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ 'name' => 'GatewayName', 'in' => 'formData', 'schema' => ['description' => 'The gateway name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test', 'title' => ''], ], [ 'name' => 'GatewayDesc', 'in' => 'formData', 'schema' => ['description' => 'The gateway description.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'DG_Test', 'title' => ''], ], [ 'name' => 'GatewayId', 'in' => 'formData', 'schema' => ['description' => 'The gateway ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dg-nmz841r7b681****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Data' => ['description' => 'The result of the operation.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Gateway exception, please launch local dg first', 'title' => ''], 'RequestId' => ['description' => 'The request ID. You can use this ID to trace logs and troubleshoot issues.', 'type' => 'string', 'example' => '18071187-5EA1-5DD4-AAD9-F27C5713CD1C', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- **true**: The request was successful.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The API operation that was performed.', 'type' => 'string', 'example' => 'dms-dg:ModifyGateway', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The display name of the authentication principal.', 'type' => 'string', 'example' => '23894333884425****', 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The owner ID of the authentication principal.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The type of the authentication principal.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The complete encoded diagnostic message.', 'type' => 'string', 'example' => 'AQEAAAAAaQQYWjRDMkY1NjE1LTQwRDMtNTIyOS1BQjg0LTg0NDE0OTVCNTIwOA==', 'title' => ''], 'NoPermissionType' => ['description' => 'The reason for the authentication failure.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], 'PolicyType' => ['description' => 'The type of policy that caused the authentication failure.', 'type' => 'string', 'example' => 'COST_OPTIMIZED', 'title' => ''], ], 'description' => 'Details of the request failure.', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Data\\": \\"SUCCESS\\",\\n \\"ErrorMsg\\": \\"Gateway exception, please launch local dg first\\",\\n \\"RequestId\\": \\"18071187-5EA1-5DD4-AAD9-F27C5713CD1C\\",\\n \\"Success\\": true,\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:ModifyGateway\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQEAAAAAaQQYWjRDMkY1NjE1LTQwRDMtNTIyOS1BQjg0LTg0NDE0OTVCNTIwOA==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\"\\n }\\n}","type":"json"}]', 'title' => 'Modify the basic information of a gateway', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], 'RetryDatabase' => [ 'summary' => 'Call this API operation to reconnect a database gateway to a database.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197521', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ 'name' => 'GatewayId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the database gateway.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dg-nmz841r7b681****', 'title' => ''], ], [ 'name' => 'Host', 'in' => 'formData', 'schema' => ['description' => 'The hostname or IP address of the database.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '127.0.XX.XX', 'title' => ''], ], [ 'name' => 'Port', 'in' => 'formData', 'schema' => ['description' => 'The port number of the database.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '65535', 'minimum' => '0', 'example' => '3306', 'title' => ''], ], [ 'name' => 'DbType', 'in' => 'formData', 'schema' => ['description' => 'The type of the database.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'MYSQL', 'title' => ''], ], [ 'name' => 'DbUserName', 'in' => 'formData', 'schema' => ['description' => 'The username used to access the database.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'test', 'title' => ''], ], [ 'name' => 'DbPassword', 'in' => 'formData', 'schema' => ['description' => 'The password used to access the database.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'HongRui****', 'title' => ''], ], [ 'name' => 'DbDescription', 'in' => 'formData', 'schema' => ['description' => 'The description of the database.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DbName', 'in' => 'formData', 'schema' => ['description' => 'The name of the database.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'formData', 'schema' => ['description' => 'A client-generated token to ensure the idempotence of the request. The token must be unique across requests and is case-sensitive. It can contain up to 64 ASCII characters.', 'type' => 'string', 'required' => false, 'example' => 'XXXXX', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Data' => ['description' => 'The result of the request.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message that is returned if the request fails.', 'type' => 'string', 'example' => 'Gateway exception, please launch local dg first', 'title' => ''], 'RequestId' => ['description' => 'The request ID. You can use this ID to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => '19EDB8E2-FCE6-5797-91F4-80F832C90371', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- **true**: The request was successful.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The name of the API operation.', 'type' => 'string', 'example' => 'dms-dg:RetryDatabase', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The display name of the authorization principal.', 'type' => 'string', 'example' => '23894333884425****'."\n", 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The ID of the owner of the authorization principal.', 'type' => 'string', 'example' => '1218522260143***', 'title' => ''], 'AuthPrincipalType' => ['description' => 'The type of the authorization principal.', 'type' => 'string', 'example' => 'SubUser'."\n", 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'The complete, encoded diagnostic information.', 'type' => 'string', 'example' => 'AQFpaFA9aWhQPUVGNTY4MDU3LTE1OEQtMzYwMi05RkM5LUM0MEJGRjA4RkExOQ==', 'title' => ''], 'NoPermissionType' => ['description' => 'The reason why the authorization failed.', 'type' => 'string', 'example' => 'ExplicitDeny'."\n", 'title' => ''], 'PolicyType' => ['description' => 'The type of the policy that caused the authorization to fail.', 'type' => 'string', 'example' => 'COST_OPTIMIZED'."\n", 'title' => ''], ], 'description' => 'The details of the request failure.', 'title' => '', 'example' => '', ], ], 'description' => 'The response.', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Data\\": \\"SUCCESS\\",\\n \\"ErrorMsg\\": \\"Gateway exception, please launch local dg first\\",\\n \\"RequestId\\": \\"19EDB8E2-FCE6-5797-91F4-80F832C90371\\",\\n \\"Success\\": true,\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:RetryDatabase\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\\\n\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\\\n\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFpaFA9aWhQPUVGNTY4MDU3LTE1OEQtMzYwMi05RkM5LUM0MEJGRjA4RkExOQ==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\\\n\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\\\n\\"\\n }\\n}","type":"json"}]', 'title' => 'Reconnect Database', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], 'StopGateway' => [ 'summary' => 'Stops a gateway.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '197509', 'abilityTreeNodes' => ['FEATUREdms1KPGDT'], ], 'parameters' => [ [ 'name' => 'GatewayId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the gateway.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dg-nmz841r7b681****', 'title' => ''], ], [ 'name' => 'GatewayInstanceId', 'in' => 'formData', 'schema' => ['description' => 'The ID of the gateway node instance.', 'type' => 'string', 'required' => false, 'example' => 'dg-node-hvsGB7qVCaaW****-v-0', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Data' => ['description' => 'The result of the operation. A value of SUCCESS indicates that the operation is successful.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Gateway exception, please launch local dg first', 'title' => ''], 'RequestId' => ['description' => 'The request ID. You can use the ID to locate logs and troubleshoot issues.', 'type' => 'string', 'example' => 'DE3CC21B-E317-5ED7-A212-A62517EA0022', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- **true**: The request was successful.'."\n" ."\n" .'- **false**: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ 'AuthAction' => ['description' => 'The API operation name.', 'type' => 'string', 'example' => 'dms-dg:StopGateway', 'title' => ''], 'AuthPrincipalDisplayName' => ['description' => 'The identifier of the principal that made the request.', 'type' => 'string', 'example' => '23894333884425****'."\n", 'title' => ''], 'AuthPrincipalOwnerId' => ['description' => 'The principal owner ID.', 'type' => 'string', 'example' => '1218522260143***'."\n", 'title' => ''], 'AuthPrincipalType' => ['description' => 'The principal type.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''], 'EncodedDiagnosticMessage' => ['description' => 'An encoded message that contains detailed diagnostic information.', 'type' => 'string', 'example' => 'AQEAAAAAaGXktUZBOTgwNkQwLTY5ODYtNTlGNC1CQTlELTk1NjlEMjA2NDAyRA==', 'title' => ''], 'NoPermissionType' => ['description' => 'The reason the authorization check failed.', 'type' => 'string', 'example' => 'ExplicitDeny'."\n", 'title' => ''], 'PolicyType' => ['description' => 'The type of policy that caused the authorization check to fail.', 'type' => 'string', 'example' => 'COST_OPTIMIZED'."\n", 'title' => ''], ], 'description' => 'Details about the request failure.', 'title' => '', 'example' => '', ], ], 'description' => 'The response object.', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Data\\": \\"SUCCESS\\",\\n \\"ErrorMsg\\": \\"Gateway exception, please launch local dg first\\",\\n \\"RequestId\\": \\"DE3CC21B-E317-5ED7-A212-A62517EA0022\\",\\n \\"Success\\": true,\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"dms-dg:StopGateway\\",\\n \\"AuthPrincipalDisplayName\\": \\"23894333884425****\\\\n\\",\\n \\"AuthPrincipalOwnerId\\": \\"1218522260143***\\\\n\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQEAAAAAaGXktUZBOTgwNkQwLTY5ODYtNTlGNC1CQTlELTk1NjlEMjA2NDAyRA==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\\\n\\",\\n \\"PolicyType\\": \\"COST_OPTIMIZED\\\\n\\"\\n }\\n}","type":"json"}]', 'title' => 'Stop Gateway Service', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ], ], 'endpoints' => [ ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-dg.ap-northeast-1.aliyuncs.com', 'endpoint' => 'dms-dg.ap-northeast-1.aliyuncs.com', 'vpc' => 'dms-dg-vpc.ap-northeast-1.aliyuncs.com'], ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-dg.ap-southeast-1.aliyuncs.com', 'endpoint' => 'dms-dg.ap-southeast-1.aliyuncs.com', 'vpc' => 'dms-dg-vpc.ap-southeast-1.aliyuncs.com'], ['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-dg.ap-southeast-2.aliyuncs.com', 'endpoint' => 'dms-dg.ap-southeast-2.aliyuncs.com', 'vpc' => 'dms-dg-vpc.ap-southeast-2.aliyuncs.com'], ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-dg.ap-southeast-3.aliyuncs.com', 'endpoint' => 'dms-dg.ap-southeast-3.aliyuncs.com', 'vpc' => 'dms-dg-vpc.ap-southeast-3.aliyuncs.com'], ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-dg.ap-southeast-5.aliyuncs.com', 'endpoint' => 'dms-dg.ap-southeast-5.aliyuncs.com', 'vpc' => 'dms-dg-vpc.ap-southeast-5.aliyuncs.com'], ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-dg.cn-beijing.aliyuncs.com', 'endpoint' => 'dms-dg.cn-beijing.aliyuncs.com', 'vpc' => 'dms-dg-vpc.cn-beijing.aliyuncs.com'], ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-dg.cn-chengdu.aliyuncs.com', 'endpoint' => 'dms-dg.cn-chengdu.aliyuncs.com', 'vpc' => 'dms-dg-vpc.cn-chengdu.aliyuncs.com'], ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-dg.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dms-dg.cn-hangzhou.aliyuncs.com', 'vpc' => 'dms-dg-vpc.cn-hangzhou.aliyuncs.com'], ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-dg.cn-hongkong.aliyuncs.com', 'endpoint' => 'dms-dg.cn-hongkong.aliyuncs.com', 'vpc' => 'dms-dg-vpc.cn-hongkong.aliyuncs.com'], ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-dg.cn-huhehaote.aliyuncs.com', 'endpoint' => 'dms-dg.cn-huhehaote.aliyuncs.com', 'vpc' => 'dms-dg-vpc.cn-huhehaote.aliyuncs.com'], ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-dg.cn-qingdao.aliyuncs.com', 'endpoint' => 'dms-dg.cn-qingdao.aliyuncs.com', 'vpc' => 'dms-dg-vpc.cn-qingdao.aliyuncs.com'], ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-dg.cn-shanghai.aliyuncs.com', 'endpoint' => 'dms-dg.cn-shanghai.aliyuncs.com', 'vpc' => 'dms-dg-vpc.cn-shanghai.aliyuncs.com'], ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-dg.cn-shenzhen.aliyuncs.com', 'endpoint' => 'dms-dg.cn-shenzhen.aliyuncs.com', 'vpc' => 'dms-dg-vpc.cn-shenzhen.aliyuncs.com'], ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'dms-dg.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'dms-dg.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'dms-dg-vpc.cn-zhangjiakou.aliyuncs.com'], ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dms-dg.us-west-1.aliyuncs.com', 'endpoint' => 'dms-dg.us-west-1.aliyuncs.com', 'vpc' => 'dms-dg-vpc.us-west-1.aliyuncs.com'], ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dms-dg.us-east-1.aliyuncs.com', 'endpoint' => 'dms-dg.us-east-1.aliyuncs.com', 'vpc' => 'dms-dg-vpc.us-east-1.aliyuncs.com'], ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dms-dg.eu-west-1.aliyuncs.com', 'endpoint' => 'dms-dg.eu-west-1.aliyuncs.com', 'vpc' => 'dms-dg-vpc.eu-west-1.aliyuncs.com'], ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'dms-dg.eu-central-1.aliyuncs.com', 'endpoint' => 'dms-dg.eu-central-1.aliyuncs.com', 'vpc' => 'dms-dg-vpc.eu-central-1.aliyuncs.com'], ], 'errorCodes' => [ ['code' => 'Error', 'message' => 'The requested service is unavailable. Please try again later.', 'http_code' => 500, 'description' => 'The requested service is unavailable. Please try again later.'], ], 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], ];