'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'rds-data', 'version' => '2022-03-30', ], 'directories' => [ [ 'id' => 185481, 'title' => null, 'type' => 'directory', 'children' => [ 'BeginTransaction', 'CommitTransaction', 'RollbackTransaction', ], ], [ 'id' => 185482, 'title' => null, 'type' => 'directory', 'children' => [ 'InsertList', 'ExecuteStatement', 'BatchExecuteStatement', ], ], ], 'components' => [ 'schemas' => [ 'BatchExecuteStatementResult' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'object', 'properties' => [ 'GeneratedFieldsList' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'array', 'items' => [ 'description' => '', 'visibility' => 'public', 'type' => 'array', 'items' => [ 'description' => '', 'visibility' => 'public', 'extendType' => 'true', '$ref' => '#/components/schemas/Field', ], 'extendType' => 'true', ], 'backendName' => 'generatedFieldsList', ], ], ], 'BeginTransactionResult' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'object', 'properties' => [ 'TransactionId' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '86xxxx1d-xxxx-45ce-xxxx-354exxxxcb34', 'backendName' => 'transactionId', ], ], ], 'ColumnMetadata' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'object', 'properties' => [ 'ArrayBaseColumnType' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'arrayBaseColumnType', ], 'IsAutoIncrement' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'boolean', 'example' => 'true', 'backendName' => 'isAutoIncrement', ], 'IsCaseSensitive' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'boolean', 'example' => 'true', 'backendName' => 'isCaseSensitive', ], 'IsCurrency' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'boolean', 'example' => 'true', 'backendName' => 'isCurrency', ], 'IsSigned' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'boolean', 'example' => 'false', 'backendName' => 'isSigned', ], 'Label' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'TBL_BIG', 'backendName' => 'label', ], 'Name' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'name', 'backendName' => 'name', ], 'Nullable' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'nullable', ], 'Precision' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'precision', ], 'Scale' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'backendName' => 'scale', ], 'SchemaName' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'test_schema', 'backendName' => 'schemaName', ], 'TableName' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'users', 'backendName' => 'tableName', ], 'Type' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int32', 'example' => '93', 'backendName' => 'type', ], 'TypeName' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'TIMESTAMP', 'backendName' => 'typeName', ], ], ], 'CommitTransactionResult' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'object', 'properties' => [ 'TransactionStatus' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'Transaction Commit', 'backendName' => 'transactionStatus', ], ], ], 'DeleteResult' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'object', 'properties' => [ 'NumberOfRecordsUpdated' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'backendName' => 'numberOfRecordsUpdated', ], ], ], 'ExecuteStatementResult' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'object', 'properties' => [ 'ColumnMetadata' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'array', 'items' => [ 'description' => '', 'visibility' => 'public', 'extendType' => 'true', '$ref' => '#/components/schemas/ColumnMetadata', ], 'backendName' => 'columnMetadata', ], 'FormattedRecords' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '[{ "name": "jack" }]', 'backendName' => 'formattedRecords', ], 'GeneratedFields' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'array', 'items' => [ 'description' => '', 'visibility' => 'public', 'extendType' => 'true', '$ref' => '#/components/schemas/Field', ], 'backendName' => 'generatedFields', ], 'NumberOfRecordsUpdated' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'backendName' => 'numberOfRecordsUpdated', ], 'Records' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'array', 'items' => [ 'description' => '', 'visibility' => 'public', 'type' => 'array', 'items' => [ 'description' => '', 'visibility' => 'public', 'extendType' => 'true', '$ref' => '#/components/schemas/Field', ], 'extendType' => 'true', ], 'backendName' => 'records', ], ], ], 'Field' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'object', 'properties' => [ 'ArrayValue' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '[item1, item2, item3]', 'backendName' => 'arrayValue', ], 'BlobValue' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'aGVsbG8=', 'backendName' => 'blobValue', ], 'BooleanValue' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'boolean', 'example' => 'true', 'backendName' => 'booleanValue', ], 'IsNull' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'boolean', 'example' => 'true', 'backendName' => 'isNull', ], 'LongValue' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '3213212', 'backendName' => 'longValue', ], 'StringValue' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'I am a string', 'backendName' => 'stringValue', ], ], ], 'InsertListResult' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'object', 'properties' => [ 'NumberOfRecordsUpdated' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'backendName' => 'numberOfRecordsUpdated', ], 'AutoIncrementKeys' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'array', 'items' => [ 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'extendType' => 'true', ], 'backendName' => 'autoIncrementKeys', ], ], ], 'InsertResult' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'object', 'properties' => [ 'NumberOfRecordsUpdated' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'backendName' => 'numberOfRecordsUpdated', ], 'AutoIncrementKey' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'backendName' => 'autoIncrementKey', ], ], ], 'ResultSetOptions' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'object', 'properties' => [ 'DecimalReturnType' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'STRING', 'backendName' => 'decimalReturnType', 'default' => 'STRING', ], 'LongReturnType' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'LONG', 'backendName' => 'longReturnType', 'default' => 'LONG', ], ], ], 'RollbackTransactionResult' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'object', 'properties' => [ 'TransactionStatus' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'Transaction Rollback', 'backendName' => 'transactionStatus', ], ], ], 'Selector' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'object', 'properties' => [ 'Lt' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '', 'backendName' => 'lt', ], 'Le' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '', 'backendName' => 'le', ], 'Gt' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '', 'backendName' => 'gt', ], 'Ge' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '', 'backendName' => 'ge', ], 'Eq' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '', 'backendName' => 'eq', ], 'Ne' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '', 'backendName' => 'ne', ], 'Like' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => '', 'backendName' => 'like', ], ], ], 'SelectResult' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'object', 'properties' => [ 'Records' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'array', 'items' => [ 'description' => '', 'visibility' => 'public', 'type' => 'object', 'additionalProperties' => [ 'description' => '', 'visibility' => 'public', 'type' => 'any', 'example' => 'value1', ], 'extendType' => 'true', ], 'backendName' => 'records', ], ], ], 'SqlParameter' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'object', 'properties' => [ 'Name' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'parameter_one', 'backendName' => 'name', ], 'TypeHint' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'string', 'example' => 'DATE', 'backendName' => 'typeHint', 'default' => 'DEFAULE', ], 'Value' => [ 'description' => '', 'visibility' => 'public', 'backendName' => 'value', '$ref' => '#/components/schemas/Field', ], ], ], 'UpdateResult' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'object', 'properties' => [ 'NumberOfRecordsUpdated' => [ 'title' => '-', 'description' => '', 'visibility' => 'public', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'backendName' => 'numberOfRecordsUpdated', ], ], ], ], ], 'apis' => [ 'BeginTransaction' => [ 'summary' => '开启事务', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'SecretArn', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'acs:rds:cn-hangzhou:1335786916******:rds-db-credent****/zha***Test03-21****', ], ], [ 'name' => 'ResourceArn', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], [ 'name' => 'Database', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'test', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => '4FD736C2-D774-5ACF-8366-8A72114BE7F9', ], 'Success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Code' => [ 'description' => '', 'type' => 'string', 'example' => '200', ], 'Message' => [ 'description' => '', 'type' => 'string', 'example' => 'There is an error in the call.', ], 'Data' => [ 'description' => '', '$ref' => '#/components/schemas/BeginTransactionResult', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4FD736C2-D774-5ACF-8366-8A72114BE7F9\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"There is an error in the call.\\",\\n \\"Data\\": {\\n \\"TransactionId\\": \\"\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 4FD736C2-D774-5ACF-8366-8A72114BE7F9\\n true\\n 200\\n \\n 8609****-94e1-45ce-8e25-354e3dd8****\\n \\n","errorExample":""}]', ], 'CommitTransaction' => [ 'summary' => '提交事务', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'SecretArn', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'acs:rds-api:cn-hangzhou:1266348003******:rds-db-credentials/mySecret-Uy****', ], ], [ 'name' => 'ResourceArn', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], [ 'name' => 'TransactionId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '8609****-94e1-45ce-8e25-354e3dd8****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => '9689CF67-B653-5A0F-B9E3-3CC6BBD580ED', ], 'Success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Code' => [ 'description' => '', 'type' => 'string', 'example' => '200', ], 'Message' => [ 'description' => '', 'type' => 'string', 'example' => 'There is an error in the call.', ], 'Data' => [ 'description' => '', '$ref' => '#/components/schemas/CommitTransactionResult', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9689CF67-B653-5A0F-B9E3-3CC6BBD580ED\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"There is an error in the call.\\",\\n \\"Data\\": {\\n \\"TransactionStatus\\": \\"\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 9689CF67-B653-5A0F-B9E3-3CC6BBD580ED\\n true\\n 200\\n \\n Transaction Commit\\n \\n","errorExample":""}]', ], 'RollbackTransaction' => [ 'summary' => '回滚事务', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'SecretArn', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'acs:rds-api:cn-hangzhou:1266348003******:rds-db-credenti***/mySecret-Uy****', ], ], [ 'name' => 'ResourceArn', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], [ 'name' => 'TransactionId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '8609****-94e1-45ce-8e25-354e3dd8****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'D2FEE6D7-DCA6-57B4-946A-9E670B773518', ], 'Success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Code' => [ 'description' => '', 'type' => 'string', 'example' => '200', ], 'Message' => [ 'description' => '', 'type' => 'string', 'example' => 'There is an error in the call.', ], 'Data' => [ 'description' => '', '$ref' => '#/components/schemas/RollbackTransactionResult', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D2FEE6D7-DCA6-57B4-946A-9E670B773518\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"There is an error in the call.\\",\\n \\"Data\\": {\\n \\"TransactionStatus\\": \\"\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n D2FEE6D7-DCA6-57B4-946A-9E670B773518\\n true\\n 200\\n \\n Transaction Rollback\\n \\n","errorExample":""}]', ], 'InsertList' => [ 'summary' => '批量插入数据', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'SecretArn', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'acs:rds-api:cn-hangzhou:1266348003******:rds-db-credenti***/mySecret-Uy****', ], ], [ 'name' => 'ResourceArn', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], [ 'name' => 'Database', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'test_db', ], ], [ 'name' => 'Table', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'user', ], ], [ 'name' => 'TransactionId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '8609****-94e1-45ce-8e25-354e3dd8****', ], ], [ 'name' => 'Records', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'required' => false, 'additionalProperties' => [ 'type' => 'any', 'example' => 'test_value', 'description' => '', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'D2FEE6D7-DCA6-57B4-946A-9E670B773518', ], 'Success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Code' => [ 'description' => '', 'type' => 'string', 'example' => '200', ], 'Message' => [ 'description' => '', 'type' => 'string', 'example' => 'There is an error in the call.', ], 'Data' => [ 'description' => '', '$ref' => '#/components/schemas/InsertListResult', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D2FEE6D7-DCA6-57B4-946A-9E670B773518\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"There is an error in the call.\\",\\n \\"Data\\": {\\n \\"NumberOfRecordsUpdated\\": 0,\\n \\"AutoIncrementKeys\\": [\\n 0\\n ]\\n }\\n}","type":"json"}]', ], 'ExecuteStatement' => [ 'summary' => '执行SQL', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'SecretArn', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'acs:rds-api:cn-hangzhou:1266348003******:rds-db-credentials/mySecret-Uy****', ], ], [ 'name' => 'ResourceArn', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], [ 'name' => 'Database', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'test', ], ], [ 'name' => 'ContinueAfterTimeout', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], ], [ 'name' => 'FormatRecordsAs', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'JSON', ], ], [ 'name' => 'IncludeResultMetadata', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], ], [ 'name' => 'Sql', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'select * from users', ], ], [ 'name' => 'TransactionId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '8609****-94e1-45ce-8e25-354e3dd8****', ], ], [ 'name' => 'Parameters', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'required' => false, '$ref' => '#/components/schemas/SqlParameter', ], 'required' => false, ], ], [ 'name' => 'ResultSetOptions', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'DecimalReturnType' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'STRING', ], 'LongReturnType' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'STRING', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'CDAEE474-87E5-5AE3-A534-922F90D5867D', ], 'Success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Code' => [ 'description' => '', 'type' => 'string', 'example' => '200', ], 'Message' => [ 'description' => '', 'type' => 'string', 'example' => 'There is an error in the call.', ], 'Data' => [ 'description' => '', '$ref' => '#/components/schemas/ExecuteStatementResult', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CDAEE474-87E5-5AE3-A534-922F90D5867D\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"There is an error in the call.\\",\\n \\"Data\\": {\\n \\"ColumnMetadata\\": [\\n {\\n \\"ArrayBaseColumnType\\": 0,\\n \\"IsAutoIncrement\\": true,\\n \\"IsCaseSensitive\\": true,\\n \\"IsCurrency\\": true,\\n \\"IsSigned\\": true,\\n \\"Label\\": \\"\\",\\n \\"Name\\": \\"\\",\\n \\"Nullable\\": 0,\\n \\"Precision\\": 0,\\n \\"Scale\\": 0,\\n \\"SchemaName\\": \\"\\",\\n \\"TableName\\": \\"\\",\\n \\"Type\\": 0,\\n \\"TypeName\\": \\"\\"\\n }\\n ],\\n \\"FormattedRecords\\": \\"\\",\\n \\"GeneratedFields\\": [\\n {\\n \\"ArrayValue\\": \\"\\",\\n \\"BlobValue\\": \\"\\",\\n \\"BooleanValue\\": true,\\n \\"IsNull\\": true,\\n \\"LongValue\\": 0,\\n \\"StringValue\\": \\"\\"\\n }\\n ],\\n \\"NumberOfRecordsUpdated\\": 0,\\n \\"Records\\": [\\n [\\n {\\n \\"ArrayValue\\": \\"\\",\\n \\"BlobValue\\": \\"\\",\\n \\"BooleanValue\\": true,\\n \\"IsNull\\": true,\\n \\"LongValue\\": 0,\\n \\"StringValue\\": \\"\\"\\n }\\n ]\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n CDAEE474-87E5-5AE3-A534-922F90D5867D\\n \\n 0\\n \\n <0>\\n 1\\n \\n <1>\\n user1\\n \\n \\n \\n <0>\\n 2\\n \\n <1>\\n user2\\n \\n \\n \\n <0>\\n 3\\n \\n <1>\\n user3\\n \\n \\n \\n <0>\\n 4\\n \\n <1>\\n user4\\n \\n \\n \\n 200\\n true\\n","errorExample":""}]', ], 'BatchExecuteStatement' => [ 'summary' => '批量执行SQL', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'SecretArn', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'acs:rds-api:cn-hangzhou:1266348003******:rds-db-credentials/mySecret-Uy****', ], ], [ 'name' => 'ResourceArn', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], [ 'name' => 'Database', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'Sql', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'insert into users(name) values(:name)', ], ], [ 'name' => 'TransactionId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '8609****-94e1-45ce-8e25-354e3dd8****', ], ], [ 'name' => 'ParameterSets', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'required' => false, '$ref' => '#/components/schemas/SqlParameter', ], 'required' => false, ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'CDAEE474-87E5-5AE3-A534-922F90D5867D', ], 'Success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Code' => [ 'description' => '', 'type' => 'string', 'example' => '200', ], 'Message' => [ 'description' => '', 'type' => 'string', 'example' => 'There is an error in the call.', ], 'Data' => [ 'description' => '', '$ref' => '#/components/schemas/BatchExecuteStatementResult', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CDAEE474-87E5-5AE3-A534-922F90D5867D\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"There is an error in the call.\\",\\n \\"Data\\": {\\n \\"GeneratedFieldsList\\": [\\n [\\n {\\n \\"ArrayValue\\": \\"\\",\\n \\"BlobValue\\": \\"\\",\\n \\"BooleanValue\\": true,\\n \\"IsNull\\": true,\\n \\"LongValue\\": 0,\\n \\"StringValue\\": \\"\\"\\n }\\n ]\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 432A039B-0520-5324-B1CA-87D2FDFC5638\\n \\n \\n \\n 16\\n \\n \\n \\n \\n 17\\n \\n \\n \\n 200\\n true\\n","errorExample":""}]', ], ], 'endpoints' => [ [ 'regionId' => 'cn-hangzhou', 'endpoint' => 'rds-data.cn-hangzhou.aliyuncs.com', ], [ 'regionId' => 'cn-beijing', 'endpoint' => 'rds-data.cn-beijing.aliyuncs.com', ], ], ];