summaryrefslogtreecommitdiff
path: root/data/en_us/rds-data/2022-03-30
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
committerZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
commit7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch)
tree0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/rds-data/2022-03-30
downloadacs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.tar.gz
acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.zip
Diffstat (limited to 'data/en_us/rds-data/2022-03-30')
-rw-r--r--data/en_us/rds-data/2022-03-30/api-docs.php1304
1 files changed, 1304 insertions, 0 deletions
diff --git a/data/en_us/rds-data/2022-03-30/api-docs.php b/data/en_us/rds-data/2022-03-30/api-docs.php
new file mode 100644
index 0000000..1f50afe
--- /dev/null
+++ b/data/en_us/rds-data/2022-03-30/api-docs.php
@@ -0,0 +1,1304 @@
+<?php return [
+ 'version' => '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":"<BeginTransactionResponse>\\n <RequestId>4FD736C2-D774-5ACF-8366-8A72114BE7F9</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n <Data>\\n <TransactionId>8609****-94e1-45ce-8e25-354e3dd8****</TransactionId>\\n </Data>\\n</BeginTransactionResponse>","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":"<CommitTransactionResponse>\\n <RequestId>9689CF67-B653-5A0F-B9E3-3CC6BBD580ED</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n <Data>\\n <TransactionStatus>Transaction Commit</TransactionStatus>\\n </Data>\\n</CommitTransactionResponse>","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":"<RollbackTransactionResponse>\\n <RequestId>D2FEE6D7-DCA6-57B4-946A-9E670B773518</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n <Data>\\n <TransactionStatus>Transaction Rollback</TransactionStatus>\\n </Data>\\n</RollbackTransactionResponse>","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":"<ExecuteStatementResponse>\\n <RequestId>CDAEE474-87E5-5AE3-A534-922F90D5867D</RequestId>\\n <Data>\\n <NumberOfRecordsUpdated>0</NumberOfRecordsUpdated>\\n <Records>\\n <0>\\n <LongValue>1</LongValue>\\n </0>\\n <1>\\n <StringValue>user1</StringValue>\\n </1>\\n </Records>\\n <Records>\\n <0>\\n <LongValue>2</LongValue>\\n </0>\\n <1>\\n <StringValue>user2</StringValue>\\n </1>\\n </Records>\\n <Records>\\n <0>\\n <LongValue>3</LongValue>\\n </0>\\n <1>\\n <StringValue>user3</StringValue>\\n </1>\\n </Records>\\n <Records>\\n <0>\\n <LongValue>4</LongValue>\\n </0>\\n <1>\\n <StringValue>user4</StringValue>\\n </1>\\n </Records>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ExecuteStatementResponse>","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":"<BatchExecuteStatementResponse>\\n <RequestId>432A039B-0520-5324-B1CA-87D2FDFC5638</RequestId>\\n <Data>\\n <UpdateResults>\\n <GeneratedFields>\\n <LongValue>16</LongValue>\\n </GeneratedFields>\\n </UpdateResults>\\n <UpdateResults>\\n <GeneratedFields>\\n <LongValue>17</LongValue>\\n </GeneratedFields>\\n </UpdateResults>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</BatchExecuteStatementResponse>","errorExample":""}]',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'rds-data.cn-hangzhou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'rds-data.cn-beijing.aliyuncs.com',
+ ],
+ ],
+];