summaryrefslogtreecommitdiff
path: root/data/rds-data
diff options
context:
space:
mode:
Diffstat (limited to 'data/rds-data')
-rw-r--r--data/rds-data/2022-03-30/api-docs.php524
1 files changed, 140 insertions, 384 deletions
diff --git a/data/rds-data/2022-03-30/api-docs.php b/data/rds-data/2022-03-30/api-docs.php
index c99da1a..27883f9 100644
--- a/data/rds-data/2022-03-30/api-docs.php
+++ b/data/rds-data/2022-03-30/api-docs.php
@@ -1,10 +1,6 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'rds-data',
- 'version' => '2022-03-30',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'rds-data', 'version' => '2022-03-30'],
'components' => [
'schemas' => [
'BatchExecuteStatementResult' => [
@@ -14,9 +10,7 @@
'type' => 'array',
'items' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Field',
- ],
+ 'items' => ['$ref' => '#/components/schemas/Field'],
],
],
],
@@ -24,78 +18,38 @@
'BeginTransactionResult' => [
'type' => 'object',
'properties' => [
- 'TransactionId' => [
- 'type' => 'string',
- ],
+ 'TransactionId' => ['type' => 'string'],
],
],
'ColumnMetadata' => [
'type' => 'object',
'properties' => [
- 'ArrayBaseColumnType' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'IsAutoIncrement' => [
- 'type' => 'boolean',
- ],
- 'IsCaseSensitive' => [
- 'type' => 'boolean',
- ],
- 'IsCurrency' => [
- 'type' => 'boolean',
- ],
- 'IsSigned' => [
- 'type' => 'boolean',
- ],
- 'Label' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'Nullable' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Precision' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Scale' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'SchemaName' => [
- 'type' => 'string',
- ],
- 'TableName' => [
- 'type' => 'string',
- ],
- 'Type' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'TypeName' => [
- 'type' => 'string',
- ],
+ 'ArrayBaseColumnType' => ['type' => 'integer', 'format' => 'int32'],
+ 'IsAutoIncrement' => ['type' => 'boolean'],
+ 'IsCaseSensitive' => ['type' => 'boolean'],
+ 'IsCurrency' => ['type' => 'boolean'],
+ 'IsSigned' => ['type' => 'boolean'],
+ 'Label' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
+ 'Nullable' => ['type' => 'integer', 'format' => 'int32'],
+ 'Precision' => ['type' => 'integer', 'format' => 'int32'],
+ 'Scale' => ['type' => 'integer', 'format' => 'int32'],
+ 'SchemaName' => ['type' => 'string'],
+ 'TableName' => ['type' => 'string'],
+ 'Type' => ['type' => 'integer', 'format' => 'int32'],
+ 'TypeName' => ['type' => 'string'],
],
],
'CommitTransactionResult' => [
'type' => 'object',
'properties' => [
- 'TransactionStatus' => [
- 'type' => 'string',
- ],
+ 'TransactionStatus' => ['type' => 'string'],
],
],
'DeleteResult' => [
'type' => 'object',
'properties' => [
- 'NumberOfRecordsUpdated' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'NumberOfRecordsUpdated' => ['type' => 'integer', 'format' => 'int64'],
],
],
'ExecuteStatementResult' => [
@@ -103,30 +57,19 @@
'properties' => [
'ColumnMetadata' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/ColumnMetadata',
- ],
- ],
- 'FormattedRecords' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/ColumnMetadata'],
],
+ 'FormattedRecords' => ['type' => 'string'],
'GeneratedFields' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Field',
- ],
- ],
- 'NumberOfRecordsUpdated' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'items' => ['$ref' => '#/components/schemas/Field'],
],
+ 'NumberOfRecordsUpdated' => ['type' => 'integer', 'format' => 'int64'],
'Records' => [
'type' => 'array',
'items' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Field',
- ],
+ 'items' => ['$ref' => '#/components/schemas/Field'],
],
],
],
@@ -134,73 +77,54 @@
'Field' => [
'type' => 'object',
'properties' => [
- 'ArrayValue' => [
- 'type' => 'string',
- ],
- 'BlobValue' => [
- 'type' => 'string',
- ],
- 'BooleanValue' => [
- 'type' => 'boolean',
- ],
- 'IsNull' => [
- 'type' => 'boolean',
- ],
- 'LongValue' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'StringValue' => [
- 'type' => 'string',
- ],
+ 'ArrayValue' => ['type' => 'string'],
+ 'BlobValue' => ['type' => 'string'],
+ 'BooleanValue' => ['type' => 'boolean'],
+ 'IsNull' => ['type' => 'boolean'],
+ 'LongValue' => ['type' => 'integer', 'format' => 'int64'],
+ 'StringValue' => ['type' => 'string'],
],
],
'InsertListResult' => [
'type' => 'object',
'properties' => [
- 'NumberOfRecordsUpdated' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'NumberOfRecordsUpdated' => ['type' => 'integer', 'format' => 'int64'],
'AutoIncrementKeys' => [
'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'items' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
'InsertResult' => [
'type' => 'object',
'properties' => [
- 'NumberOfRecordsUpdated' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'AutoIncrementKey' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'NumberOfRecordsUpdated' => ['type' => 'integer', 'format' => 'int64'],
+ 'AutoIncrementKey' => ['type' => 'integer', 'format' => 'int64'],
],
],
'ResultSetOptions' => [
'type' => 'object',
'properties' => [
- 'DecimalReturnType' => [
- 'type' => 'string',
- ],
- 'LongReturnType' => [
- 'type' => 'string',
- ],
+ 'DecimalReturnType' => ['type' => 'string'],
+ 'LongReturnType' => ['type' => 'string'],
],
],
'RollbackTransactionResult' => [
'type' => 'object',
'properties' => [
- 'TransactionStatus' => [
- 'type' => 'string',
- ],
+ 'TransactionStatus' => ['type' => 'string'],
+ ],
+ ],
+ 'Selector' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Lt' => ['type' => 'string'],
+ 'Le' => ['type' => 'string'],
+ 'Gt' => ['type' => 'string'],
+ 'Ge' => ['type' => 'string'],
+ 'Eq' => ['type' => 'string'],
+ 'Ne' => ['type' => 'string'],
+ 'Like' => ['type' => 'string'],
],
],
'SelectResult' => [
@@ -210,73 +134,31 @@
'type' => 'array',
'items' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- ],
+ 'additionalProperties' => ['type' => 'any'],
],
],
],
],
- 'Selector' => [
- 'type' => 'object',
- 'properties' => [
- 'Lt' => [
- 'type' => 'string',
- ],
- 'Le' => [
- 'type' => 'string',
- ],
- 'Gt' => [
- 'type' => 'string',
- ],
- 'Ge' => [
- 'type' => 'string',
- ],
- 'Eq' => [
- 'type' => 'string',
- ],
- 'Ne' => [
- 'type' => 'string',
- ],
- 'Like' => [
- 'type' => 'string',
- ],
- ],
- ],
'SqlParameter' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'type' => 'string',
- ],
- 'TypeHint' => [
- 'type' => 'string',
- ],
- 'Value' => [
- '$ref' => '#/components/schemas/Field',
- ],
+ 'Name' => ['type' => 'string'],
+ 'TypeHint' => ['type' => 'string'],
+ 'Value' => ['$ref' => '#/components/schemas/Field'],
],
],
'UpdateResult' => [
'type' => 'object',
'properties' => [
- 'NumberOfRecordsUpdated' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'NumberOfRecordsUpdated' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
],
'apis' => [
- 'BeginTransaction' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'BatchExecuteStatement' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -287,78 +169,47 @@
[
'name' => 'SecretArn',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ResourceArn',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Database',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'CommitTransaction' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'SecretArn',
+ 'name' => 'Sql',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ResourceArn',
+ 'name' => 'TransactionId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TransactionId',
+ 'name' => 'ParameterSets',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/SqlParameter', 'required' => false],
+ ],
],
],
],
],
- 'RollbackTransaction' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'BeginTransaction' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -369,37 +220,23 @@
[
'name' => 'SecretArn',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ResourceArn',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TransactionId',
+ 'name' => 'Database',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'InsertList' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CommitTransaction' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -410,69 +247,23 @@
[
'name' => 'SecretArn',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ResourceArn',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Database',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Table',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'TransactionId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Records',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'any',
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ExecuteStatement' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -483,66 +274,42 @@
[
'name' => 'SecretArn',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ResourceArn',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Database',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ContinueAfterTimeout',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'FormatRecordsAs',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'IncludeResultMetadata',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'Sql',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'TransactionId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Parameters',
@@ -551,10 +318,7 @@
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/SqlParameter',
- 'required' => false,
- ],
+ 'items' => ['$ref' => '#/components/schemas/SqlParameter', 'required' => false],
],
],
[
@@ -565,27 +329,16 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'DecimalReturnType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'LongReturnType' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'DecimalReturnType' => ['type' => 'string', 'required' => false],
+ 'LongReturnType' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'BatchExecuteStatement' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'InsertList' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -596,71 +349,74 @@
[
'name' => 'SecretArn',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ResourceArn',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Database',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Sql',
+ 'name' => 'Table',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'TransactionId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ParameterSets',
+ 'name' => 'Records',
'in' => 'formData',
'style' => 'json',
'schema' => [
'type' => 'array',
'required' => false,
'items' => [
- 'type' => 'array',
+ 'type' => 'object',
'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/SqlParameter',
- 'required' => false,
- ],
+ 'additionalProperties' => ['type' => 'any'],
],
],
],
],
],
+ 'RollbackTransaction' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'SecretArn',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'ResourceArn',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'TransactionId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ ],
+ ],
],
'endpoints' => [
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'rds-data.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'rds-data.cn-beijing.aliyuncs.com',
- ],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rds-data.cn-beijing.aliyuncs.com', 'endpoint' => 'rds-data.cn-beijing.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rds-data.cn-hangzhou.aliyuncs.com', 'endpoint' => 'rds-data.cn-hangzhou.aliyuncs.com', 'vpc' => 'rds-data-vpc.cn-hangzhou.aliyuncs.com'],
],
];