diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/vpcpeer | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/en_us/vpcpeer')
| -rw-r--r-- | data/en_us/vpcpeer/2022-01-01/api-docs.php | 2826 |
1 files changed, 1151 insertions, 1675 deletions
diff --git a/data/en_us/vpcpeer/2022-01-01/api-docs.php b/data/en_us/vpcpeer/2022-01-01/api-docs.php index 678f607..e9af220 100644 --- a/data/en_us/vpcpeer/2022-01-01/api-docs.php +++ b/data/en_us/vpcpeer/2022-01-01/api-docs.php @@ -1,37 +1,15 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'VpcPeer', - 'version' => '2022-01-01', - ], - 'directories' => [ - 'AcceptVpcPeerConnection', - 'CreateVpcPeerConnection', - 'DeleteVpcPeerConnection', - 'GetVpcPeerConnectionAttribute', - 'ListTagResources', - 'ListVpcPeerConnections', - 'ModifyVpcPeerConnection', - 'MoveResourceGroup', - 'RejectVpcPeerConnection', - 'TagResources', - 'UnTagResources', - ], + 'info' => ['style' => 'RPC', 'product' => 'VpcPeer', 'version' => '2022-01-01'], + 'directories' => ['AcceptVpcPeerConnection', 'CreateVpcPeerConnection', 'DeleteVpcPeerConnection', 'GetVpcPeerConnectionAttribute', 'ListVpcPeerConnections', 'ModifyVpcPeerConnection', 'RejectVpcPeerConnection', 'ListTagResources', 'MoveResourceGroup', 'TagResources', 'UnTagResources'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'AcceptVpcPeerConnection' => [ - 'summary' => 'Accepts a virtual private cloud (VPC) peering connection request.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Accepts a VPC peering connection request.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -44,11 +22,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '130834', - 'abilityTreeNodes' => [ - 'FEATUREvpcZAZ5VI', - 'FEATUREvpc3J8W0N', - 'FEATUREvpc7MUSG6', - ], + 'abilityTreeNodes' => ['FEATUREvpcZAZ5VI', 'FEATUREvpc3J8W0N', 'FEATUREvpc7MUSG6'], 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation', @@ -57,51 +31,32 @@ [ 'name' => 'InstanceId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the VPC peering connection to be accepted by the accepter VPC.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'pcc-guzvyqlj0n6e10****', - ], + 'schema' => ['description' => 'The ID of VPC peering connection.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'pcc-guzvyqlj0n6e10****'], ], [ 'name' => 'DryRun', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to perform only a dry run, without performing the actual request. Valid values:'."\n" - ."\n" - .'* **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.'."\n" - .'* **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: Sends a request without accepting the VPC peering connection request. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the check passes, the `DryRunOperation` error code is returned.'."\n" + ."\n" + .'- **false** (default): Sends a normal request. After the check passes, an HTTP 2xx status code is returned and the operation is performed.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n" - ."\n" - .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.'."\n" - ."\n" - .'> If you do not specify this parameter, the system automatically uses **request ID** as the **client token**. The **request ID** may be different for each request.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '02fb3da4-130e-11e9-8e44-001****', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n" + ."\n" + .'Generate a token from your client to make sure that it is unique among different requests. The client token can contain only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the request as the **ClientToken**. The **RequestId** of each API request may be different.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '02fb3da4-130e-11e9-8e44-001****'], ], [ 'name' => 'ResourceGroupId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the resource group.'."\n" - ."\n" - .'For more information about resource groups, see [What is a resource group?](~~94475~~)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmxazb4ph6aiy****', - ], + 'schema' => ['description' => 'The ID of the resource group.'."\n" + ."\n" + .'For more information, see [What is a resource group?](~~94475~~)', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfmxazb4ph6aiy****'], ], [ 'name' => 'Tag', @@ -112,30 +67,24 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'The tag key. You must specify at least one tag key and at most 20 tag keys. The tag key cannot be an empty string.'."\n" - ."\n" - .'The tag key can be up to 128 characters in length. It cannot start with `acs:` or `aliyun` and cannot contain `http://` or `https://`.'."\n", - 'example' => 'FinanceDept', - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'The tag value. You must specify at least one tag value and can specify at most 20 tag values. The tag value can be an empty string.'."\n" - ."\n" - .'The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.'."\n", - 'example' => 'FinanceJoshua', - ], + 'Key' => ['type' => 'string', 'required' => false, 'description' => 'The key of the tag. You can specify 1 to 20 tag keys. It cannot be an empty string.'."\n" + ."\n" + .'The tag key can be up to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.', 'title' => '', 'example' => 'FinanceDept'], + 'Value' => ['type' => 'string', 'required' => false, 'description' => 'The value of the tag. You can specify 1 to 20 tag values. It can be an empty string.'."\n" + ."\n" + .'The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.', 'title' => '', 'example' => 'FinanceJoshua'], ], 'required' => false, - 'description' => 'The tags.'."\n", + 'description' => 'The tags.', + 'title' => '', + 'example' => '', ], 'required' => false, 'maxItems' => 21, 'minItems' => 1, - 'description' => 'The tags.'."\n", + 'description' => 'The tags.', + 'title' => '', + 'example' => '', ], ], ], @@ -143,67 +92,59 @@ 200 => [ 'schema' => [ 'title' => 'RpcResponse<CreateVpcPeerResponse>', - 'description' => '', + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ResourceNotFound.InstanceId', - 'errorMessage' => 'The specified resource of %s is not found.', - ], - [ - 'errorCode' => 'IncorrectStatus.VpcPeer', - 'errorMessage' => 'The status of %s [%s] is incorrect.', - ], - [ - 'errorCode' => 'OperationFailed.CdtNotOpened', - 'errorMessage' => 'The operation failed because the Cdt service is not opened.', - ], - [ - 'errorCode' => 'IncorrectBusinessStatus.VpcPeer', - 'errorMessage' => 'The business status of %s [%s] is incorrect.', - ], - [ - 'errorCode' => 'OperationFailed.NotExist.ResourceGroup', - 'errorMessage' => 'The operation failed because the resource group does not exist.', - ], - [ - 'errorCode' => 'OperationFailed.CrossBorderCdtNotOpened', - 'errorMessage' => 'The cross-border data transmission function of Alibaba Cloud is not enabled.', - ], + ['errorCode' => 'ResourceNotFound.InstanceId', 'errorMessage' => 'The specified resource of %s is not found.', 'description' => 'The specified instance is not found'], + ['errorCode' => 'IncorrectStatus.VpcPeer', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => 'The status of the peer-to-peer connection instance does not meet the requirements. In this status, the peer-to-peer connection instance cannot be received.'], + ['errorCode' => 'OperationFailed.CdtNotOpened', 'errorMessage' => 'The operation failed because the Cdt service is not opened.', 'description' => 'The operation failed because CDT is not activated.'], + ['errorCode' => 'IncorrectBusinessStatus.VpcPeer', 'errorMessage' => 'The business status of %s [%s] is incorrect.', 'description' => 'The current instance status is abnormal and the current operation is not allowed.'], + ['errorCode' => 'OperationFailed.NotExist.ResourceGroup', 'errorMessage' => 'The operation failed because the resource group does not exist.', 'description' => 'The operation failed because the resource group does not exist.'], + ['errorCode' => 'OperationFailed.CrossBorderCdtNotOpened', 'errorMessage' => 'The cross-border data transmission function of Alibaba Cloud is not enabled.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD0E-403F3EE64CAF\\"\\n}","errorExample":""},{"type":"xml","example":"<AcceptVpcPeerConnectionResponse>\\n <RequestId>4EC47282-1B74-4534-BD0E-403F3EE64CAF</RequestId>\\n</AcceptVpcPeerConnectionResponse>","errorExample":""}]', 'title' => 'AcceptVpcPeerConnection', - 'description' => '* For a cross-account VPC peering connection, the connection is activated only after the accepter VPC accepts the connection request.'."\n" + 'description' => '- A cross-account VPC peering connection is activated only after the accepter VPC accepts the request.'."\n" + ."\n" + .'- **AcceptVpcPeerConnection** is an asynchronous operation. After you send a request, the system returns a **RequestId** while running the task in the background. Call [GetVpcPeerConnectionAttribute](~~426100~~) to query the status of the VPC peering connection instance.'."\n" ."\n" - .'* **AcceptVpcPeerConnection** is an asynchronous operation. After a request is sent, the system returns a **request ID** and runs the operation in the background. You can call the [GetVpcPeerConnectionAttribute](~~426100~~) operation to query the status of the task.'."\n" + .' - **Updating** indicates that the VPC peering connection is being activated.'."\n" ."\n" - .' * If a VPC peering connection is in the **Updating** state, the VPC peering connection is being activated.'."\n" - .' * If a VPC peering connection is in the **Activated** state, the VPC peering connection is activated.'."\n" + .' - **Activated** indicates that the VPC peering connection is activated.'."\n" ."\n" - .'* You cannot repeatedly call the **AcceptVpcPeerConnection** operation within a specific period of time.', + .'- **AcceptVpcPeerConnection** does not support concurrent requests for the same VPC peering connection.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AcceptVpcPeerConnection'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'vpc:AcceptVpcPeerConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD0E-403F3EE64CAF\\"\\n}","type":"json"}]', ], 'CreateVpcPeerConnection' => [ - 'summary' => 'Creates a VPC peering connection', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -211,166 +152,99 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the region where you want to create a VPC peering connection.'."\n" - ."\n" - .'You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where you want to create a VPC peering connection.'."\n" + ."\n" + .'Call the [DescribeRegions](~~36063~~) operation to query the most recent region list.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'VpcId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the requester VPC.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-bp1gsk7h12ew7oegk****', - ], + 'schema' => ['description' => 'The ID of the requester VPC.', 'type' => 'string', 'required' => true, 'example' => 'vpc-bp1gsk7h12ew7oegk****', 'title' => ''], ], [ 'name' => 'AcceptingAliUid', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the accepter VPC belongs.'."\n" - ."\n" - .'* To create a VPC peering connection within your Alibaba Cloud account, enter the ID of your Alibaba Cloud account.'."\n" - .'* To create a VPC peering connection between your Alibaba Cloud account and another Alibaba Cloud account, enter the ID of the peer Alibaba Cloud account.'."\n" - ."\n" - .'> If the accepter is a RAM user, set **AcceptingAliUid** to the ID of the Alibaba Cloud account that created the RAM user.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1210123456123456', - ], + 'schema' => ['description' => 'The ID of the Alibaba Cloud account to which the accepter VPC belongs.'."\n" + ."\n" + .'- To create a VPC peering connection within your Alibaba Cloud account, enter the ID of your Alibaba Cloud account.'."\n" + ."\n" + .'- To create a VPC peering connection between your Alibaba Cloud account and another Alibaba Cloud account, enter the ID of the peer Alibaba Cloud account.'."\n" + ."\n" + .'> If the accepter is a RAM user, set **AcceptingAliUid** to the ID of the Alibaba Cloud account that created the RAM user.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1210123456123456', 'title' => ''], ], [ 'name' => 'AcceptingRegionId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The region ID of the accepter VPC of the VPC peering connection that you want to create.'."\n" - ."\n" - .'* To create an intra-region VPC peering connection, enter a region ID that is the same as that of the requester VPC.'."\n" - .'* To create an inter-region VPC peering connection, enter a region ID that is different from that of the requester VPC.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the accepter VPC of the VPC peering connection that you want to create.'."\n" + ."\n" + .'- To create an intra-region VPC peering connection, enter a region ID that is the same as that of the requester VPC.'."\n" + ."\n" + .'- To create an inter-region VPC peering connection, enter a region ID that is different from that of the requester VPC.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'AcceptingVpcId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the accepter VPC.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-bp1vzjkp2q1xgnind****', - ], + 'schema' => ['description' => 'The ID of the accepter VPC.', 'type' => 'string', 'required' => true, 'example' => 'vpc-bp1vzjkp2q1xgnind****', 'title' => ''], ], [ 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the VPC peering connection.'."\n" - ."\n" - .'The name must be 2 to 128 characters in length, and can contain digits, underscores (\\_), and hyphens (-). It must start with a letter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpcpeer', - ], + 'schema' => ['description' => 'The name of the VPC peering connection.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length, and can contain digits, underscores (\\_), and hyphens (-). It must start with a letter.', 'type' => 'string', 'required' => false, 'example' => 'vpcpeer', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'description' => 'The description of the VPC peering connection.'."\n" - ."\n" - .'The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'description', - ], + 'schema' => ['description' => 'The description of the VPC peering connection.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'description', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to perform only a dry run, without performing the actual request. Valid values:'."\n" - ."\n" - .'* **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.'."\n" - .'* **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform only a dry run, without performing the actual request. Valid values:'."\n" + ."\n" + .'- **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.'."\n" + ."\n" + .'- **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n" - ."\n" - .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n" - ."\n" - .'> If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '02fb3da4-130e-11e9-8e44-001****', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n" + ."\n" + .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.', 'type' => 'string', 'required' => false, 'example' => '02fb3da4-130e-11e9-8e44-001****', 'title' => ''], ], [ 'name' => 'ResourceGroupId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the resource group.'."\n" - ."\n" - .'For more information about resource groups, see [Resource groups](~~94475~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmxazb4ph6aiy****', - ], + 'schema' => ['description' => 'The ID of the resource group.'."\n" + ."\n" + .'For more information about resource groups, see [Resource groups](~~94475~~).', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxazb4ph6aiy****', 'title' => ''], ], [ 'name' => 'Bandwidth', 'in' => 'formData', - 'schema' => [ - 'description' => 'The bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0. Before you specify this parameter, make sure that you create an inter-region VPC peering connection.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => 'The bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0. Before you specify this parameter, make sure that you create an inter-region VPC peering connection.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], ], [ 'name' => 'LinkType', 'in' => 'query', - 'schema' => [ - 'description' => 'The link type of the VPC peering connection that you want to create. Valid values:'."\n" - ."\n" - .'- Platinum.'."\n" - ."\n" - .'- Gold: default value.'."\n" - ."\n" - .'> '."\n" - .'> - If you need to specify this parameter, ensure that the VPC peering connection is an inter-region connection.', - 'type' => 'string', - 'required' => false, - 'example' => 'Gold', - ], + 'schema' => ['description' => 'The link type of the VPC peering connection that you want to create. Valid values:'."\n" + ."\n" + .'- Platinum.'."\n" + ."\n" + .'- Gold: default value.'."\n" + ."\n" + .'> * If you need to specify this parameter, ensure that the VPC peering connection is an inter-region connection.', 'type' => 'string', 'required' => false, 'example' => 'Gold', 'title' => ''], ], [ 'name' => 'Tag', @@ -381,30 +255,24 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'The tag key. You must specify at least one tag key and at most 20 tag keys. The tag key cannot be an empty string.'."\n" - ."\n" - .'The tag key can be up to 128 characters in length. It cannot start with `acs:` or `aliyun` and cannot contain `http://` or `https://`.'."\n", - 'example' => 'FinanceDept', - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'The tag value. You must specify at least one tag value and can specify at most 20 tag values. The tag value can be an empty string.'."\n" - ."\n" - .'The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.'."\n", - 'example' => 'FinanceJoshua', - ], + 'Key' => ['description' => 'The tag key. You must specify at least one tag key and at most 20 tag keys. The tag key cannot be an empty string.'."\n" + ."\n" + .'The tag key can be up to 128 characters in length. It cannot start with `acs:` or `aliyun` and cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept', 'title' => ''], + 'Value' => ['description' => 'The tag value. You must specify at least one tag value and can specify at most 20 tag values. The tag value can be an empty string.'."\n" + ."\n" + .'The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua', 'title' => ''], ], 'required' => false, - 'description' => 'The tags.'."\n", + 'description' => 'The tags.', + 'title' => '', + 'example' => '', ], 'required' => false, 'maxItems' => 21, 'minItems' => 1, - 'description' => 'The tags.'."\n", + 'description' => 'The tags.', + 'title' => '', + 'example' => '', ], ], ], @@ -412,155 +280,86 @@ 200 => [ 'schema' => [ 'title' => 'RpcResponse<CreateVpcPeerResponse>', - 'description' => 'The request ID.'."\n", + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance on which the VPC peering connection is created.'."\n", - 'type' => 'string', - 'example' => 'pcc-lnk0m24khwvtkm****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance on which the VPC peering connection is created.', 'type' => 'string', 'example' => 'pcc-lnk0m24khwvtkm****', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'OperationFailed.CdtNotOpened', - 'errorMessage' => 'The operation failed because the Cdt service is not opened.', - ], - [ - 'errorCode' => 'OperationFailed.CrossBorderCdtNotOpened', - 'errorMessage' => 'The operation failed because the CrossBorderCdt service is not opened.', - ], - [ - 'errorCode' => 'IncorrectStatus.Vpc', - 'errorMessage' => 'The status of %s [%s] is incorrect.', - ], - [ - 'errorCode' => 'IncorrectStatus.AcceptingVpc', - 'errorMessage' => 'The status of %s [%s] is incorrect.', - ], - [ - 'errorCode' => 'ResourceAlreadyExist.RouterInterface', - 'errorMessage' => 'The specified resource of %s already exists.', - ], - [ - 'errorCode' => 'ResourceAlreadyExist.VpcPeer', - 'errorMessage' => 'The specified resource of %s already exists.', - ], - [ - 'errorCode' => 'OperationDenied.CloudBoxExistsInVpc', - 'errorMessage' => 'The operation is not allowed because the CloudBox device exists in vpc.', - ], - [ - 'errorCode' => 'OperationDenied.CloudBoxExistsInAcceptingVpc', - 'errorMessage' => 'The operation is not allowed because the CloudBox device exists in accepting vpc.', - ], - [ - 'errorCode' => 'QuotaExceeded.VpcPeerCountPerVpc', - 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.', - ], - [ - 'errorCode' => 'UnsupportedRegion', - 'errorMessage' => 'The feature of %s is not supported in the region of %s.', - ], - [ - 'errorCode' => 'QuotaExceeded.VpcPeerCountPerUserPerRegion', - 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.', - ], - [ - 'errorCode' => 'IncorrectBusinessStatus.VpcPeer', - 'errorMessage' => 'The business status of %s [%s] is incorrect.', - ], - [ - 'errorCode' => 'OperationFailed.NotExist.ResourceGroup', - 'errorMessage' => 'The operation failed because the resource group does not exist.', - ], - [ - 'errorCode' => 'OperationFailed.AcceptUserCdtNotOpened', - 'errorMessage' => 'The operation failed because the Cdt service of accept user is not opened.', - ], - [ - 'errorCode' => 'OperationFailed.AcceptUserCrossBorderCdtNotOpened', - 'errorMessage' => 'The operation failed because the CrossBorderCdt service of accept user is not opened.', - ], - [ - 'errorCode' => 'IncorrectBusinessStatus.AcceptUserVpcPeer', - 'errorMessage' => 'The business status of %s [%s] is incorrect.', - ], - [ - 'errorCode' => 'OperationFailed.ViolativeVpcPeer', - 'errorMessage' => 'The creation operation fails because it is not allowed to create a vpc peer instance between the originating region and the receiving region.', - ], - [ - 'errorCode' => 'QuotaExceeded.CrossRegionVpcPeerCountPerVpc', - 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.', - ], - [ - 'errorCode' => 'QuotaExceeded.IntraRegionVpcPeerCountPerVpc', - 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.', - ], - [ - 'errorCode' => 'OperationDenied.OperateShareResource', - 'errorMessage' => 'The operation is not allowed because of operating shared resource.', - ], - [ - 'errorCode' => 'IncorrectBusinessStatus.AcceptVpcPeer', - 'errorMessage' => 'The business status of peer account is incorrect.', - ], - [ - 'errorCode' => 'OperationFailed.InterRegionLinkTypeNotSupported', - 'errorMessage' => 'The same region not supported link type feature.', - ], - [ - 'errorCode' => 'OperationFailed.RegionIdNotSupportLinkType', - 'errorMessage' => 'The feature link type is not supported in the region.', - ], - [ - 'errorCode' => 'OperationFailed.SpecificLinkTypeNotSupported', - 'errorMessage' => 'The operation failed because the special link type of user is not opened.', - ], - [ - 'errorCode' => 'OperationFailed.CrossBusinessNotAllowed', - 'errorMessage' => 'Operation failed because receiver and accepter belong to different business site.', - ], - [ - 'errorCode' => 'OperationFailed.ChargeTypeNotSupported', - 'errorMessage' => 'Operation failed because the CDT charge type of receiver or accepter does not support the Underlay link type.', - ], + ['errorCode' => 'OperationFailed.CdtNotOpened', 'errorMessage' => 'The operation failed because the Cdt service is not opened.', 'description' => 'The operation failed because CDT is not activated.'], + ['errorCode' => 'OperationFailed.CrossBorderCdtNotOpened', 'errorMessage' => 'The operation failed because the CrossBorderCdt service is not opened.', 'description' => ''], + ['errorCode' => 'IncorrectStatus.Vpc', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => 'The status of the initiator VPC instance is incorrect.'], + ['errorCode' => 'IncorrectStatus.AcceptingVpc', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => 'The receiving VPC status is incorrect.'], + ['errorCode' => 'ResourceAlreadyExist.RouterInterface', 'errorMessage' => 'The specified resource of %s already exists.', 'description' => 'The specified router interface already exists.'], + ['errorCode' => 'ResourceAlreadyExist.VpcPeer', 'errorMessage' => 'The specified resource of %s already exists.', 'description' => 'The specified VPC peering connection already exists.'], + ['errorCode' => 'OperationDenied.CloudBoxExistsInVpc', 'errorMessage' => 'The operation is not allowed because the CloudBox device exists in vpc.', 'description' => 'A cloud box instance exists in the initiator VPC, so it is not allowed to create a VpcPeer instance.'], + ['errorCode' => 'OperationDenied.CloudBoxExistsInAcceptingVpc', 'errorMessage' => 'The operation is not allowed because the CloudBox device exists in accepting vpc.', 'description' => 'Cloud box instances exist in the receiving end VPC, so VpcPeer instances are not allowed to be created.'], + ['errorCode' => 'QuotaExceeded.VpcPeerCountPerVpc', 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.', 'description' => 'The number of VPC peering connections to the VPC has reached the upper limit.'], + ['errorCode' => 'UnsupportedRegion', 'errorMessage' => 'The feature of %s is not supported in the region of %s.', 'description' => 'VPC peering connections are not supported in this region.'], + ['errorCode' => 'QuotaExceeded.VpcPeerCountPerUserPerRegion', 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.', 'description' => 'The number of VpcPeer instances in a region exceeds the threshold.'], + ['errorCode' => 'IncorrectBusinessStatus.VpcPeer', 'errorMessage' => 'The business status of %s [%s] is incorrect.', 'description' => 'The current instance status is abnormal and the current operation is not allowed.'], + ['errorCode' => 'OperationFailed.NotExist.ResourceGroup', 'errorMessage' => 'The operation failed because the resource group does not exist.', 'description' => 'The operation failed because the resource group does not exist.'], + ['errorCode' => 'OperationFailed.AcceptUserCdtNotOpened', 'errorMessage' => 'The operation failed because the Cdt service of accept user is not opened.', 'description' => 'The operation failed because CDT is not activated for the peer.'], + ['errorCode' => 'OperationFailed.AcceptUserCrossBorderCdtNotOpened', 'errorMessage' => 'The operation failed because the CrossBorderCdt service of accept user is not opened.', 'description' => 'The operation failed because the cross-border service of CDT is not activated for the peer.'], + ['errorCode' => 'IncorrectBusinessStatus.AcceptUserVpcPeer', 'errorMessage' => 'The business status of %s [%s] is incorrect.', 'description' => 'The peer VPC is in an invalid business state.'], + ['errorCode' => 'OperationFailed.ViolativeVpcPeer', 'errorMessage' => 'The creation operation fails because it is not allowed to create a vpc peer instance between the originating region and the receiving region.', 'description' => 'the creation operation fails because it is not allowed to create a vpc peer instance between the originating region and the receiving region.'], + ['errorCode' => 'QuotaExceeded.CrossRegionVpcPeerCountPerVpc', 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.', 'description' => 'The number of cross-region VpcPeer in the specified VPC exceeds the limit'], + ['errorCode' => 'QuotaExceeded.IntraRegionVpcPeerCountPerVpc', 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.', 'description' => 'The number of VpcPeer in the same region in the specified VPC exceeds the limit'], + ['errorCode' => 'OperationDenied.OperateShareResource', 'errorMessage' => 'The operation is not allowed because of operating shared resource.', 'description' => 'Operating on shared resources causes the operation to fail'], + ['errorCode' => 'IncorrectBusinessStatus.AcceptVpcPeer', 'errorMessage' => 'The business status of peer account is incorrect.', 'description' => 'The business status of the peer VpcPeer in an invalid state.'], + ['errorCode' => 'OperationFailed.InterRegionLinkTypeNotSupported', 'errorMessage' => 'The same region not supported link type feature.', 'description' => 'Link type characteristics are not supported in the same region.'], + ['errorCode' => 'OperationFailed.RegionIdNotSupportLinkType', 'errorMessage' => 'The feature link type is not supported in the region.', 'description' => 'The gold, silver and copper settings for this feature are not supported in the region.'], + ['errorCode' => 'OperationFailed.SpecificLinkTypeNotSupported', 'errorMessage' => 'The operation failed because the special link type of user is not opened.', 'description' => 'The account does not support special link types.'], + ['errorCode' => 'OperationFailed.CrossBusinessNotAllowed', 'errorMessage' => 'Operation failed because receiver and accepter belong to different business site.', 'description' => ''], + ['errorCode' => 'OperationFailed.ChargeTypeNotSupported', 'errorMessage' => 'Operation failed because the CDT charge type of receiver or accepter does not support the Underlay link type.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"InstanceId\\": \\"pcc-lnk0m24khwvtkm****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateVpcPeerConnectionResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n <InstanceId>pcc-lnk0m24khwvtkm****</InstanceId>\\n</CreateVpcPeerConnectionResponse>","errorExample":""}]', 'title' => 'CreateVpcPeerConnection', + 'summary' => 'Creates a VPC peering connection', 'description' => 'Before you create a VPC peering connection, take note of the following items:'."\n" ."\n" - .'* **CreateVpcPeerConnection** is an asynchronous operation. After a request is sent, the system returns an **instance ID** and runs the task in the background. You can call [GetVpcPeerConnectionAttribute](~~426095~~) to query the status of the task.'."\n" + .'- **CreateVpcPeerConnection** is an asynchronous operation. The system returns an **instance ID **but the IPsec connection is not yet created and runs the task in the background. Call [GetVpcPeerConnectionAttribute](~~426095~~) to query the status of the task.'."\n" + ."\n" + .' - If the VPC peering connection is in the **Creating** state, the VPC peering connection is being created.'."\n" ."\n" - .' * If the VPC peering connection is in the **Creating** state, the VPC peering connection is being created.'."\n" - .' * If the VPC peering connection is in the **Activated** state, the VPC peering connection is created.'."\n" - .' * If the VPC peering connection is in the **Accepting** state, it is a cross-account connection. The connection needs to be accepted on the accepter side.'."\n" + .' - If the VPC peering connection is in the **Activated** state, the VPC peering connection is created.'."\n" ."\n" - .'* You cannot repeatedly call **CreateVpcPeerConnection** within the specified period of time.'."\n" + .' - If the VPC peering connection is in the **Accepting** state, it is a cross-account connection. The connection needs to be accepted on the accepter side.'."\n" ."\n" - .'When you create a VPC peering connection, the system automatically activates Cloud Data Transfer (CDT) for you.'."\n", + .'- You cannot repeatedly call **CreateVpcPeerConnection** within the specified period of time.'."\n" + ."\n" + .'When you create a VPC peering connection, the system automatically activates Cloud Data Transfer (CDT) for you.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateVpcPeerConnection'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'vpc:CreateVpcPeerConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"InstanceId\\": \\"pcc-lnk0m24khwvtkm****\\"\\n}","type":"json"}]', ], 'DeleteVpcPeerConnection' => [ - 'summary' => 'Deletes a virtual private cloud (VPC) peering connection.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Deletes a VPC peering connection.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -568,127 +367,100 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the VPC peering connection that you want to delete.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'pcc-lnk0m24khwvtkm****', - ], + 'schema' => ['description' => 'The ID of the VPC peering connection.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'pcc-lnk0m24khwvtkm****'], ], [ 'name' => 'Force', 'in' => 'formData', - 'schema' => [ - 'title' => '是否强删', - 'description' => 'Specifies whether to forcefully delete the VPC peering connection. Valid values:'."\n" - ."\n" - .'* **false** (default): no.'."\n" - .'* **true**: yes. If you forcefully delete the VPC peering connection, the system deletes the routes that point to the VPC peering connection from the VPC route table.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['title' => '', 'description' => 'Specifies whether to force delete the VPC peering connection. Valid values:'."\n" + ."\n" + .'- **false** (default): does not force delete the VPC peering connection. Delete the routes that point to the VPC peering connection.'."\n" + ."\n" + .'- **true**: force deletes the VPC peering connection. The system deletes the routes that point to the VPC peering connection in the route table.', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'DryRun', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to check the request without performing the operation. Valid values:'."\n" - ."\n" - .'* **true**: checks the request without performing the operation. The system checks the required parameters, request syntax, and limits. If the request fails to pass the check, an error message is returned. If the request passes the check, the `DryRunOperation` error code is returned.'."\n" - .'* **false** (default): sends the request. If the request passes the check, an HTTP 2xx status code is returned and the operation is performed.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: performs a dry run but does not delete the VPC peering connection. The system checks the request for required parameters, format, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.'."\n" + ."\n" + .'- **false** (default): sends the request. If the request passes the check, an HTTP 2xx status code is returned and the operation is performed.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n" - ."\n" - .'You can use the client to generate the value, but you must make sure that it is unique among different requests. The client token can contain only ASCII characters.'."\n" - ."\n" - .'> If you do not set this parameter, the system uses **RequestId** as **ClientToken**. The value of **RequestId** for each API request may be different.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '02fb3da4-130e-11e9-8e44-001****', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n" + ."\n" + .'Generate a value for this parameter from your client to make sure that the value is unique among different requests. The client token can contain only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '02fb3da4-130e-11e9-8e44-001****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse<DeleteVpcPeerResponse>', - 'description' => 'RpcResponse<DeleteVpcPeerResponse>', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ResourceNotFound.InstanceId', - 'errorMessage' => 'The specified resource of %s is not found.', - ], - [ - 'errorCode' => 'IncorrectStatus.VpcPeer', - 'errorMessage' => 'The status of %s [%s] is incorrect.', - ], - [ - 'errorCode' => 'OperationDenied.RouteEntryExist', - 'errorMessage' => 'The operation is not allowed because of existing routeEntry point to VpcPeer.', - ], - [ - 'errorCode' => 'OperationDenied.ServiceManagedInstance', - 'errorMessage' => 'Operation is denied because the specified instance belongs to service manager.', - ], + ['errorCode' => 'ResourceNotFound.InstanceId', 'errorMessage' => 'The specified resource of %s is not found.', 'description' => 'The specified instance is not found'], + ['errorCode' => 'IncorrectStatus.VpcPeer', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => 'The status of the peer-to-peer connection instance does not meet the requirements. In this status, the peer-to-peer connection instance cannot be received.'], + ['errorCode' => 'OperationDenied.RouteEntryExist', 'errorMessage' => 'The operation is not allowed because of existing routeEntry point to VpcPeer.', 'description' => 'The VPC peering connection cannot be deleted because a route points to the VPC peering connection.'], + ['errorCode' => 'OperationDenied.ServiceManagedInstance', 'errorMessage' => 'Operation is denied because the specified instance belongs to service manager.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteVpcPeerConnectionResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n</DeleteVpcPeerConnectionResponse>","errorExample":""}]', 'title' => 'DeleteVpcPeerConnection', - 'description' => '* You can delete VPC peering connections. After you delete a VPC peering connection, your service is affected. Proceed with caution.'."\n" + 'description' => '- You can delete a VPC peering connection. After you delete the instance, your services are interrupted. Make sure that this operation does not affect your business.'."\n" + ."\n" + .' - If you force delete the instance, the system also deletes the routes that point to the VPC peering connection from the route table.'."\n" ."\n" - .' * If you forcefully delete a VPC peering connection, the system deletes the routes that point to the VPC peering connection from the VPC route table.'."\n" - .' * If you do not forcefully delete a VPC peering connection, the system does not delete these routes. You must manually delete them.'."\n" + .' - If you do not force delete the instance, the system does not delete the routes that point to the VPC peering connection from the route table. You must manually delete these routes.'."\n" ."\n" - .'* The **DeleteVpcPeerConnection** operation is asynchronous. After you send a request, the system returns **RequestId**, but the operation is still being performed in the background. You can call the [GetVpcPeerConnectionAttribute](~~426100~~) operation to query the status of a VPC peering connection.'."\n" + .'- **DeleteVpcPeerConnection** is an asynchronous operation. After you send a request, the system returns a **request ID**, while running the task in the background. Call the [GetVpcPeerConnectionAttribute](~~2523294~~) operation to query the status of the VPC peering connection.'."\n" ."\n" - .' * If a VPC peering connection is in the **Deleting** state, it is being deleted.'."\n" - .' * If a VPC peering connection is in the **Deleted** state, it is deleted.'."\n" + .' - **Deleting** indicates the instance is being deleted.'."\n" ."\n" - .'* You cannot repeatedly call the **DeleteVpcPeerConnection** operation for the same VPC peering connection within the specified period of time.', + .' - **Deleted** indicates the instance is deleted.'."\n" + ."\n" + .'- You cannot send concurrent requests to delete the same VPC peering connection instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteVpcPeerConnection'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'vpc:DeleteVpcPeerConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","type":"json"}]', ], 'GetVpcPeerConnectionAttribute' => [ - 'summary' => 'Queries the details of a virtual private cloud (VPC) peering connection.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -696,247 +468,174 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the VPC peering connection.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'pcc-lnk0m24khwvtkm****', - ], + 'schema' => ['description' => 'The ID of the VPC peering connection.', 'type' => 'string', 'required' => true, 'example' => 'pcc-lnk0m24khwvtkm****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse<GetVpcPeerResponse>', - 'description' => 'The request ID.'."\n", + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '473469C7-AA6F-4DC5-B3DB-A3AC0DE3C83E', - ], - 'InstanceId' => [ - 'description' => 'The ID of the VPC peering connection.'."\n", - 'type' => 'string', - 'example' => 'pcc-lnk0m24khwvtkm****', - ], - 'GmtCreate' => [ - 'description' => 'The time when the VPC peering connection was created. The time follows the ISO 8601 standard in the `YYYY-MM-DDThh:mm:ss` format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2022-04-24T09:02:36Z', - ], - 'GmtModified' => [ - 'description' => 'The time when the VPC peering connection was modified. The time follows the ISO 8601 standard in the `YYYY-MM-DDThh:mm:ss` format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2022-04-24T19:20:45Z', - ], - 'Name' => [ - 'description' => 'The name of the VPC peering connection.'."\n", - 'type' => 'string', - 'example' => 'vpcpeer', - ], - 'Description' => [ - 'description' => 'The description of the VPC peering connection.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'OwnerId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the requester VPC belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '253460731706911258', - ], - 'AcceptingOwnerUid' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the accepter VPC belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '283117732402483989', - ], - 'RegionId' => [ - 'description' => 'The region ID of the requester VPC.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'AcceptingRegionId' => [ - 'description' => 'The region ID of the accepter VPC.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'Bandwidth' => [ - 'description' => 'The bandwidth of the VPC peering connection. Unit: Mbit /s. The value is an integer greater than 0.'."\n" - ."\n" - .'> A value of -1 indicates that the bandwidth is unlimited.'."\n" - ."\n" - .'Default value:'."\n" - ."\n" - .'* The default bandwidth value of an inter-region VPC peering connection is 1,024 Mbit/s.'."\n" - .'* The default bandwidth value of an intra-region VPC peering connection is -1 Mbit/s, which indicates that the bandwidth is unlimited.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1024', - ], - 'Status' => [ - 'description' => 'The status of the VPC peering connection. Valid values:'."\n" - ."\n" - .'* **Creating**'."\n" - .'* **Accepting**'."\n" - .'* **Updating**'."\n" - .'* **Rejected**'."\n" - .'* **Expired**'."\n" - .'* **Activated**'."\n" - .'* **Deleting**'."\n" - .'* **Deleted**'."\n" - ."\n" - .'For more information about the status of VPC peering connections, see [Overview](~~418507~~).'."\n", - 'type' => 'string', - 'example' => 'Activated', - ], - 'BizStatus' => [ - 'description' => 'The status of the VPC peering connection. Valid values:'."\n" - ."\n" - .'* **Normal**'."\n" - .'* **FinancialLocked**'."\n", - 'type' => 'string', - 'example' => 'Normal', - ], - 'GmtExpired' => [ - 'description' => 'The expiration time of the VPC peering connection.'."\n" - ."\n" - .'A valid expiration time is returned only when the **Status** of the VPC peering connection is **Accepting** or **Expired**. Otherwise, **null** is returned.'."\n", - 'type' => 'string', - 'example' => '2022-05-01T09:02:36Z', - ], - 'ResourceGroupId' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'example' => 'rg-acfmz7hy5z267ni', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3AC0DE3C83E', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the VPC peering connection.', 'type' => 'string', 'example' => 'pcc-lnk0m24khwvtkm****', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the VPC peering connection was created. The time is displayed in UTC in the `YYYY-MM-DDThh:mm:ssZ` format.', 'type' => 'string', 'example' => '2022-04-24T09:02:36Z', 'title' => ''], + 'GmtModified' => ['description' => 'The time when the VPC peering connection was last modified. The time is displayed in UTC in the `YYYY-MM-DDThh:mm:ssZ` format.', 'type' => 'string', 'example' => '2022-04-24T19:20:45Z', 'title' => ''], + 'Name' => ['description' => 'The name of the VPC peering connection.', 'type' => 'string', 'example' => 'vpcpeer', 'title' => ''], + 'Description' => ['description' => 'The description of the VPC peering connection.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'OwnerId' => ['description' => 'The ID of the Alibaba Cloud account to which the requester VPC belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '25346073170691****', 'title' => ''], + 'AcceptingOwnerUid' => ['description' => 'The ID of the Alibaba Cloud account to which the accepter VPC belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '28311773240248****', 'title' => ''], + 'RegionId' => ['description' => 'The region ID of the requester VPC.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'AcceptingRegionId' => ['description' => 'The region ID of the accepter VPC.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'Bandwidth' => ['description' => 'The bandwidth of the VPC peering connection. Unit: Mbps. The value must be an integer greater than 0.'."\n" + ."\n" + .'> A value of -1 indicates that no limit is imposed on the bandwidth.'."\n" + ."\n" + .'Default values:'."\n" + ."\n" + .'- The default bandwidth for a cross-region VPC peering connection is 1,024 Mbps.'."\n" + ."\n" + .'- The default bandwidth for an intra-region VPC peering connection is -1 Mbps. This indicates that no limit is imposed on the bandwidth.', 'type' => 'integer', 'format' => 'int32', 'example' => '1024', 'title' => ''], + 'Status' => ['description' => 'The status of the VPC peering connection. Valid values:'."\n" + ."\n" + .'- **Creating**'."\n" + ."\n" + .'- **Accepting**'."\n" + ."\n" + .'- **Updating**'."\n" + ."\n" + .'- **Rejected**'."\n" + ."\n" + .'- **Expired**'."\n" + ."\n" + .'- **Activated**'."\n" + ."\n" + .'- **Deleting**'."\n" + ."\n" + .'- **Deleted**'."\n" + ."\n" + .'For more information, see [VPC peering connection overview](~~418507~~).', 'type' => 'string', 'example' => 'Activated', 'title' => ''], + 'BizStatus' => ['description' => 'The business status of the VPC peering connection. Valid values:'."\n" + ."\n" + .'- **Normal**'."\n" + ."\n" + .'- **FinancialLocked**: The VPC peering connection is locked due to an overdue payment.', 'type' => 'string', 'example' => 'Normal', 'title' => ''], + 'GmtExpired' => ['description' => 'The time when the VPC peering connection expires.'."\n" + ."\n" + .'This parameter is returned only when the **Status** of the VPC peering connection is **Accepting** or **Expired**. For other statuses, the return value is **null**.', 'type' => 'string', 'example' => '2022-05-01T09:02:36Z', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'example' => 'rg-acfmxazb4ph6aiy****', 'title' => ''], 'Vpc' => [ - 'description' => 'The details of the requester VPC.'."\n", + 'description' => 'The details of the requester VPC.', 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the requester VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-bp1gsk7h12ew7oegk****', - ], + 'VpcId' => ['description' => 'The ID of the requester VPC.', 'type' => 'string', 'example' => 'vpc-bp1gsk7h12ew7oegk****', 'title' => ''], 'Ipv4Cidrs' => [ - 'description' => 'The CIDR block of the requester VPC.'."\n", + 'description' => 'The IPv4 CIDR blocks of the requester VPC.', 'type' => 'array', - 'items' => [ - 'description' => 'The CIDR block of the requester VPC.'."\n", - 'type' => 'string', - 'example' => '192.168.0.0/16', - ], + 'items' => ['description' => 'The IPv4 CIDR block of the requester VPC.', 'type' => 'string', 'example' => '192.168.0.0/16', 'title' => ''], + 'title' => '', + 'example' => '', ], 'Ipv6Cidrs' => [ - 'description' => 'The IPv6 CIDR block of the requester VPC.'."\n", + 'description' => 'The IPv6 CIDR blocks of the requester VPC.', 'type' => 'array', - 'items' => [ - 'description' => 'The IPv6 CIDR block of the requester VPC.'."\n", - 'type' => 'string', - 'example' => '2408:XXXX:3c5:6e00::/56', - ], + 'items' => ['description' => 'The IPv6 CIDR block of the requester VPC.', 'type' => 'string', 'example' => '2408:XXXX:3c5:6e00::/56', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], 'AcceptingVpc' => [ - 'description' => 'The details of the accepter VPC.'."\n", + 'description' => 'The details of the accepter VPC.', 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the accepter VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-bp1vzjkp2q1xgnind****', - ], + 'VpcId' => ['description' => 'The ID of the accepter VPC.', 'type' => 'string', 'example' => 'vpc-bp1vzjkp2q1xgnind****', 'title' => ''], 'Ipv4Cidrs' => [ - 'description' => 'The CIDR block of the accepter VPC.'."\n", + 'description' => 'The IPv4 CIDR blocks of the accepter VPC.', 'type' => 'array', - 'items' => [ - 'description' => 'The CIDR block of the accepter VPC.'."\n", - 'type' => 'string', - 'example' => '10.0.0.0/16', - ], + 'items' => ['description' => 'The IPv4 CIDR block of the accepter VPC.', 'type' => 'string', 'example' => '10.0.0.0/16', 'title' => ''], + 'title' => '', + 'example' => '', ], 'Ipv6Cidrs' => [ - 'description' => 'The IPv6 CIDR block of the accepter VPC.'."\n", + 'description' => 'The IPv6 CIDR blocks of the accepter VPC.', 'type' => 'array', - 'items' => [ - 'description' => 'The IPv6 CIDR block of the accepter VPC.'."\n", - 'type' => 'string', - 'example' => '2408:XXXX:3b8:3a00::/56', - ], + 'items' => ['description' => 'The IPv6 CIDR block of the accepter VPC.', 'type' => 'string', 'example' => '2408:XXXX:3b8:3a00::/56', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], 'Tags' => [ - 'description' => 'The tag list.'."\n", + 'description' => 'The list of tags.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The list of tags.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'FinanceDept', - ], - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => 'FinanceJoshua', - ], + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'FinanceDept', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'FinanceJoshua', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'LinkType' => [ - 'description' => 'The link type of the VPC peering connection.', - 'type' => 'string', - 'example' => 'Gold', - ], - 'ManagedService' => [ - 'title' => '归属云服务', - 'type' => 'string', - 'example' => 'SWAS', - ], + 'LinkType' => ['description' => 'The link type of the VPC peering connection.'."\n" + ."\n" + .'Default values:'."\n" + ."\n" + .'- The default link type for a cross-region VPC peering connection is Gold.'."\n" + ."\n" + .'- The default link type for an intra-region VPC peering connection is empty.', 'type' => 'string', 'example' => 'Gold', 'title' => ''], + 'ManagedService' => ['description' => 'The Alibaba Cloud service to which the resource belongs.', 'type' => 'string', 'example' => 'SWAS', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ResourceNotFound.InstanceId', - 'errorMessage' => 'The specified resource of %s is not found.', - ], + ['errorCode' => 'ResourceNotFound.InstanceId', 'errorMessage' => 'The specified resource of %s is not found.', 'description' => 'The specified instance is not found'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3AC0DE3C83E\\",\\n \\"InstanceId\\": \\"pcc-lnk0m24khwvtkm****\\",\\n \\"GmtCreate\\": \\"2022-04-24T09:02:36Z\\",\\n \\"GmtModified\\": \\"2022-04-24T19:20:45Z\\",\\n \\"Name\\": \\"vpcpeer\\",\\n \\"Description\\": \\"test\\",\\n \\"OwnerId\\": 0,\\n \\"AcceptingOwnerUid\\": 0,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"AcceptingRegionId\\": \\"cn-hangzhou\\",\\n \\"Bandwidth\\": 1024,\\n \\"Status\\": \\"Activated\\",\\n \\"BizStatus\\": \\"Normal\\",\\n \\"GmtExpired\\": \\"2022-05-01T09:02:36Z\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxazb4ph6aiy****\\",\\n \\"Vpc\\": {\\n \\"VpcId\\": \\"vpc-bp1gsk7h12ew7oegk****\\",\\n \\"Ipv4Cidrs\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"Ipv6Cidrs\\": [\\n \\"2408:XXXX:3c5:6e00::/56\\"\\n ]\\n },\\n \\"AcceptingVpc\\": {\\n \\"VpcId\\": \\"vpc-bp1vzjkp2q1xgnind****\\",\\n \\"Ipv4Cidrs\\": [\\n \\"10.0.0.0/16\\"\\n ],\\n \\"Ipv6Cidrs\\": [\\n \\"2408:XXXX:3b8:3a00::/56\\"\\n ]\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"FinanceDept\\",\\n \\"Value\\": \\"FinanceJoshua\\"\\n }\\n ],\\n \\"LinkType\\": \\"Gold\\",\\n \\"ManagedService\\": \\"SWAS\\"\\n}","errorExample":""},{"type":"xml","example":"<GetVpcPeerConnectionAttributeResponse>\\n <RequestId>473469C7-AA6F-4DC5-B3DB-A3AC0DE3C83E</RequestId>\\n <InstanceId>pcc-lnk0m24khwvtkm****</InstanceId>\\n <GmtCreate>2022-04-24T09:02:36Z</GmtCreate>\\n <GmtModified>2022-04-24T19:20:45Z</GmtModified>\\n <Name>vpcpeer</Name>\\n <Description>test</Description>\\n <OwnerId>253460731706911260</OwnerId>\\n <AcceptingOwnerUid>283117732402484000</AcceptingOwnerUid>\\n <RegionId>cn-hangzhou</RegionId>\\n <AcceptingRegionId>cn-hangzhou</AcceptingRegionId>\\n <Bandwidth>1024</Bandwidth>\\n <Status>Activated</Status>\\n <BizStatus>Normal</BizStatus>\\n <GmtExpired>2022-05-01T09:02:36Z</GmtExpired>\\n <ResourceGroupId>rg-acfmxazb4ph6aiy****</ResourceGroupId>\\n <Vpc>\\n <VpcId>vpc-bp1gsk7h12ew7oegk****</VpcId>\\n <Ipv4Cidrs>192.168.0.0/16</Ipv4Cidrs>\\n <Ipv6Cidrs>2408:XXXX:3c5:6e00::/56</Ipv6Cidrs>\\n </Vpc>\\n <AcceptingVpc>\\n <VpcId>vpc-bp1vzjkp2q1xgnind****</VpcId>\\n <Ipv4Cidrs>10.0.0.0/16</Ipv4Cidrs>\\n <Ipv6Cidrs>2408:XXXX:3b8:3a00::/56</Ipv6Cidrs>\\n </AcceptingVpc>\\n <Tags>\\n <Key>FinanceDept</Key>\\n <Value>FinanceJoshua</Value>\\n </Tags>\\n</GetVpcPeerConnectionAttributeResponse>","errorExample":""}]', 'title' => 'GetVpcPeerConnectionAttribute', + 'summary' => 'Queries the attributes of a specified VPC peering connection.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetVpcPeerConnectionAttribute'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'vpc:GetVpcPeerConnectionAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:*:{#accountId}:vpcpeer/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3AC0DE3C83E\\",\\n \\"InstanceId\\": \\"pcc-lnk0m24khwvtkm****\\",\\n \\"GmtCreate\\": \\"2022-04-24T09:02:36Z\\",\\n \\"GmtModified\\": \\"2022-04-24T19:20:45Z\\",\\n \\"Name\\": \\"vpcpeer\\",\\n \\"Description\\": \\"test\\",\\n \\"OwnerId\\": 0,\\n \\"AcceptingOwnerUid\\": 0,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"AcceptingRegionId\\": \\"cn-hangzhou\\",\\n \\"Bandwidth\\": 1024,\\n \\"Status\\": \\"Activated\\",\\n \\"BizStatus\\": \\"Normal\\",\\n \\"GmtExpired\\": \\"2022-05-01T09:02:36Z\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxazb4ph6aiy****\\",\\n \\"Vpc\\": {\\n \\"VpcId\\": \\"vpc-bp1gsk7h12ew7oegk****\\",\\n \\"Ipv4Cidrs\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"Ipv6Cidrs\\": [\\n \\"2408:XXXX:3c5:6e00::/56\\"\\n ]\\n },\\n \\"AcceptingVpc\\": {\\n \\"VpcId\\": \\"vpc-bp1vzjkp2q1xgnind****\\",\\n \\"Ipv4Cidrs\\": [\\n \\"10.0.0.0/16\\"\\n ],\\n \\"Ipv6Cidrs\\": [\\n \\"2408:XXXX:3b8:3a00::/56\\"\\n ]\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"FinanceDept\\",\\n \\"Value\\": \\"FinanceJoshua\\"\\n }\\n ],\\n \\"LinkType\\": \\"Gold\\",\\n \\"ManagedService\\": \\"SWAS\\"\\n}","type":"json"}]', ], 'ListTagResources' => [ - 'summary' => 'Queries tags that are added to Virtual Private Cloud (VPC) peering connections.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -944,43 +643,28 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the resource. Set the value to **PeerConnection**, which specifies a VPC peering connection.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'PeerConnection', - ], + 'schema' => ['description' => 'The resource type. Valid value: **PeerConnection**. This value specifies a VPC peering connection.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'PeerConnection'], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The resource ID.', + 'description' => 'The IDs of the resources. You can specify up to 20 resource IDs.', 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the resource. You can specify up to 20 resource IDs.'."\n" - ."\n" - .'> Specify at least one of the **ResourceId.N** and **Tag.N** parameters (**Tag.N.Key** and **Tag.N.Value**).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'pcc-bp16qjewdsunr41m1****', - ], + 'items' => ['description' => 'The ID of the resource. You can specify up to 20 resource IDs.'."\n" + ."\n" + .'> You must specify at least **ResourceId.N** or **Tag.N** (which consists of **Tag.N.Key** and **Tag.N.Value**).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'pcc-bp16qjewdsunr41m1****'], 'deprecated' => true, 'required' => false, 'maxItems' => 50, + 'title' => '', + 'example' => '', ], ], [ @@ -988,75 +672,52 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The tags.'."\n", + 'description' => 'The tags.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The tag.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key. You can specify at most 20 tag keys. The tag key cannot be an empty string.'."\n" - ."\n" - .'The tag key can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.'."\n" - ."\n" - .'> You must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'FinanceDept', - ], - 'Value' => [ - 'description' => 'The tag value. You can specify at most 20 tag values. The tag value can be an empty string.'."\n" - ."\n" - .'The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.'."\n" - ."\n" - .'> You must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'FinanceJoshua', - ], + 'Key' => ['description' => 'The tag key of the resource. You can specify up to 20 tag keys. The tag key cannot be an empty string.'."\n" + ."\n" + .'A tag key can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.'."\n" + ."\n" + .'> You must specify at least **ResourceId.N** or **Tag.N** (which consists of **Tag.N.Key** and **Tag.N.Value**).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'FinanceDept'], + 'Value' => ['description' => 'The tag value of the resource. You can specify up to 20 tag values. The tag value can be an empty string.'."\n" + ."\n" + .'A tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.'."\n" + ."\n" + .'> You must specify at least **ResourceId.N** or **Tag.N** (which consists of **Tag.N.Key** and **Tag.N.Value**).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'FinanceJoshua'], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'deprecated' => true, 'required' => false, 'maxItems' => 21, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Valid values: **1** to **50**. Default value: **50**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '50', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Valid values: **1** to **50**. Default value: **50**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '50'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The token that is used for the next query. Valid values:'."\n" - ."\n" - .'* If this is your first query or no subsequent query is to be sent, ignore this parameter.'."\n" - .'* If a next query is to be sent, set the value to the value of **NextToken** that is returned in the last call.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], + 'schema' => ['description' => 'The token that is used to start the next query. Valid values:'."\n" + ."\n" + .'- If this is the first query or no subsequent query is to be sent, do not specify this parameter.'."\n" + ."\n" + .'- To retrieve the next page of results, set this parameter to the **NextToken** value returned from the previous call.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the resource.'."\n" - ."\n" - .'You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where the resource is deployed. See [DescribeRegions](~~36063~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'Category', @@ -1064,11 +725,15 @@ 'schema' => [ 'type' => 'string', 'required' => false, - 'description' => 'Tag Type:'."\n" + 'description' => 'The type of the tag.'."\n" + ."\n" + .'- All (default)'."\n" ."\n" - .'- All(Default)'."\n" .'- Custom'."\n" + ."\n" .'- System', + 'enumValueTitles' => ['All' => 'All', 'Custom' => 'Custom', 'System' => 'System'], + 'title' => '', 'example' => 'All', ], ], @@ -1077,120 +742,85 @@ 200 => [ 'schema' => [ 'title' => 'RpcResponse<ListVpcPeerResponse>', - 'description' => '', + 'description' => 'Request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'DE65F6B7-7566-4802-9007-96F2494AC512', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => 'DE65F6B7-7566-4802-9007-96F2494AC512'], 'TagResources' => [ - 'description' => 'The resources to which the tags are added.'."\n", + 'description' => 'A list of the resources and their tags.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The details of a resource and its tag.', 'type' => 'object', 'properties' => [ - 'ResourceId' => [ - 'description' => 'The ID of the resource.'."\n", - 'type' => 'string', - 'example' => 'pcc-bp16qjewdsunr41m1****', - ], - 'ResourceType' => [ - 'description' => 'The type of the resource. The value is set to **PeerConnection**, which indicates a VPC peering connection.'."\n", - 'type' => 'string', - 'example' => 'PeerConnection', - ], - 'RegionNo' => [ - 'description' => 'The region of the requester VPC.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'TagKey' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'FinanceDept', - ], - 'TagValue' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => 'FinanceJoshua', - ], + 'ResourceId' => ['description' => 'The ID of the resource.', 'type' => 'string', 'title' => '', 'example' => 'pcc-bp16qjewdsunr41m1****'], + 'ResourceType' => ['description' => 'The type of the resource. Valid value: **PeerConnection**, which indicates a VPC peering connection.', 'type' => 'string', 'title' => '', 'example' => 'PeerConnection'], + 'RegionNo' => ['description' => 'The region of the requester VPC of the peering connection.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'FinanceDept'], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'FinanceJoshua'], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'NextToken' => [ - 'description' => 'The token that is used for the next query. Valid values:'."\n" - ."\n" - .'* If **NextToken** is empty, it indicates that no next query is to be sent.'."\n" - .'* If **NextToken** is returned, the value indicates the token that is used for the next query.'."\n", - 'type' => 'string', - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], - 'MaxResults' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], + 'NextToken' => ['description' => 'The token that is used for the next query. Valid values:'."\n" + ."\n" + .'- If the returned value is empty, no more results are available.'."\n" + ."\n" + .'- If a value is returned, it is the token for the next query.', 'type' => 'string', 'title' => '', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'], + 'MaxResults' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '50'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidTagKey', - 'errorMessage' => 'The tag keys are not valid.', - ], - [ - 'errorCode' => 'NumberExceed.Tags', - 'errorMessage' => 'The maximum number of tags is exceeded.', - ], - [ - 'errorCode' => 'NumberExceed.ResourceIds', - 'errorMessage' => 'The maximum number of resource IDs is exceeded.', - ], - [ - 'errorCode' => 'Forbidden.TagKeys', - 'errorMessage' => 'The tag key cannot be operated by the request.', - ], - [ - 'errorCode' => 'Forbidden.TagKey.Duplicated', - 'errorMessage' => 'The specified tag key already exists.', - ], - [ - 'errorCode' => 'InvalidInstanceIds.NotFound', - 'errorMessage' => 'The instance IDs are not found.', - ], - [ - 'errorCode' => 'InvalidInstanceType.NotFound', - 'errorMessage' => 'The instance type is not found.', - ], - [ - 'errorCode' => 'BothEmpty.TagsAndResources', - 'errorMessage' => 'The specified Tags and ResourcesIds are not allow to both empty.', - ], + ['errorCode' => 'InvalidTagKey', 'errorMessage' => 'The tag keys are not valid.', 'description' => 'The tag index is invalid.'], + ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of tags is exceeded.', 'description' => 'The number of tags has reached the upper limit.'], + ['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of resource IDs is exceeded.', 'description' => 'The number of resource group IDs exceeds the upper limit.'], + ['errorCode' => 'Forbidden.TagKeys', 'errorMessage' => 'The tag key cannot be operated by the request.', 'description' => 'You cannot manage the tag key by calling the operation.'], + ['errorCode' => 'Forbidden.TagKey.Duplicated', 'errorMessage' => 'The specified tag key already exists.', 'description' => 'The tag resources are duplicate.'], + ['errorCode' => 'InvalidInstanceIds.NotFound', 'errorMessage' => 'The instance IDs are not found.', 'description' => 'The instance ID is invalid.'], + ['errorCode' => 'InvalidInstanceType.NotFound', 'errorMessage' => 'The instance type is not found.', 'description' => 'The instance type is invalid.'], + ['errorCode' => 'BothEmpty.TagsAndResources', 'errorMessage' => 'The specified Tags and ResourcesIds are not allow to both empty.', 'description' => 'The tag and resource information cannot be empty at the same time.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DE65F6B7-7566-4802-9007-96F2494AC512\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceId\\": \\"pcc-bp16qjewdsunr41m1****\\",\\n \\"ResourceType\\": \\"PeerConnection\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"TagKey\\": \\"FinanceDept\\",\\n \\"TagValue\\": \\"FinanceJoshua\\"\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 50\\n}","errorExample":""},{"type":"xml","example":"<ListTagResourcesResponse>\\n <RequestId>DE65F6B7-7566-4802-9007-96F2494AC512</RequestId>\\n <TagResources>\\n <ResourceId>pcc-bp16qjewdsunr41m1****</ResourceId>\\n <ResourceType>PeerConnection</ResourceType>\\n <RegionNo>cn-hangzhou</RegionNo>\\n <TagKey>FinanceDept</TagKey>\\n <TagValue>FinanceJoshua</TagValue>\\n </TagResources>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <MaxResults>50</MaxResults>\\n</ListTagResourcesResponse>","errorExample":""}]', 'title' => 'ListTagResources', - 'description' => '* Set **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request to specify the object to be queried.'."\n" - .'* **Tag.N** is a resource tag that consists of a key-value pair. If you set only **Tag.N.Key**, all tag values that are associated with the specified key are returned. If you set only **Tag.N.Value**, an error message is returned.'."\n" - .'* If you set **Tag.N** and **ResourceId.N** to filter tags, **ResourceId.N** must match all specified key-value pairs.'."\n" - .'* If you specify multiple key-value pairs, resources that contain these key-value pairs are returned.', + 'summary' => 'Queries the tags that are attached to a VPC peering connection.', + 'description' => '- You must specify at least **ResourceId.N** or **Tag.N**, which consists of **Tag.N.Key** and **Tag.N.Value**, to identify the resources that you want to query.'."\n" + ."\n" + .'- **Tag.N** is a resource tag that consists of a key-value pair. If you specify only **Tag.N.Key**, all tag values associated with the tag key are returned. Specifying only **Tag.N.Value** returns an error.'."\n" + ."\n" + .'- If you specify both **Tag.N** and **ResourceId.N**, only resources that have all the specified tags and match the specified resource IDs are returned.'."\n" + ."\n" + .'- If you specify multiple tag key-value pairs, only the resources that have all the specified tags are returned.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagResources'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'vpc:ListTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DE65F6B7-7566-4802-9007-96F2494AC512\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceId\\": \\"pcc-bp16qjewdsunr41m1****\\",\\n \\"ResourceType\\": \\"PeerConnection\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"TagKey\\": \\"FinanceDept\\",\\n \\"TagValue\\": \\"FinanceJoshua\\"\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 50\\n}","type":"json"}]', ], 'ListVpcPeerConnections' => [ - 'summary' => 'Queries virtual private cloud (VPC) peering connections.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1198,379 +828,265 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the region where you want to query VPC peering connections.'."\n" - ."\n" - .'You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the VPC peering connection.'."\n" + ."\n" + .'You can call the [DescribeRegions](~~36063~~) operation to obtain the region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the VPC peering connection that you want to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'pcc-lnk0m24khwvtkm****', - ], + 'schema' => ['description' => 'The ID of the VPC peering connection.', 'type' => 'string', 'required' => false, 'example' => 'pcc-lnk0m24khwvtkm****', 'title' => ''], ], [ 'name' => 'VpcId', 'in' => 'formData', 'style' => 'simple', 'schema' => [ - 'title' => '根据两端vpcid过滤,不区分发起端和接收端。如果只传入一个,则根据一端过滤', - 'description' => 'The ID of the requester VPC or accepter VPC of the VPC peering connection that you want to query.'."\n", + 'title' => '', + 'description' => 'The ID of a VPC in the peering connection. You can specify the ID of the requester or accepter VPC. If you specify only one VPC ID, the query returns all peering connections that involve the specified VPC.', 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the requester VPC or accepter VPC of the VPC peering connection that you want to query.', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-bp1gsk7h12ew7oegk****', - ], + 'items' => ['description' => 'The ID of the requester or accepter VPC.', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp1gsk7h12ew7oegk****', 'title' => ''], 'required' => false, 'maxItems' => 2, + 'example' => '', ], ], [ 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the VPC peering connection that you want to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpcpeer', - ], + 'schema' => ['description' => 'The name of the VPC peering connection.', 'type' => 'string', 'required' => false, 'example' => 'vpcpeer', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'The token that is used for the next query. Valid values:'."\n" - ."\n" - .'* You do not need to specify this parameter for the first request.'."\n" - .'* You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], + 'schema' => ['description' => 'The token that is used for the next query. Valid values:'."\n" + ."\n" + .'- Do not specify this parameter for the first request.'."\n" + ."\n" + .'- You must specify the token that is obtained from the previous query as the value of NextToken.', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of entries to return per page. Valid values: **1** to **100**. Default value: **20**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Valid values: **1** to **100**. Default value: **20**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'Tags', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The tag list.'."\n", + 'description' => 'The tags.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The tags.', 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => 'The tag value. You can specify at most 20 tag values. The tag value can be an empty string.'."\n" - ."\n" - .'The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'FinanceJoshua', - ], - 'Key' => [ - 'description' => 'The tag key. You can specify at most 20 tag keys. The tag key cannot be an empty string.'."\n" - ."\n" - .'The tag key can be up to 128 characters in length. The tag key cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'FinanceDept', - ], + 'Value' => ['description' => 'The tag value. You can specify up to 20 tag values. The tag value can be an empty string.'."\n" + ."\n" + .'The value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua', 'title' => ''], + 'Key' => ['description' => 'The tag key. You can specify up to 20 tag keys. The tag key cannot be an empty string.'."\n" + ."\n" + .'The key can be up to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, 'maxItems' => 10, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group.'."\n" - ."\n" - .'For more information about resource groups, see [What is a resource group?](~~94475~~)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2ggeub5uf3y', - ], + 'schema' => ['description' => 'The ID of the resource group.'."\n" + ."\n" + .'For more information about resource groups, see [What is a resource group?](~~94475~~).', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxazb4ph6aiy****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse<ListVpcPeerResponse>', - 'description' => 'The request ID.'."\n", + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0ED8D006-F706-4D23-88ED-E11ED39DCAC0', - ], - 'TotalCount' => [ - 'description' => 'The number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'MaxResults' => [ - 'description' => 'The number of entries per page. Valid values: **1** to **100**. Default value: **20**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'NextToken' => [ - 'description' => 'The token that is used for the next query. Valid values:'."\n" - ."\n" - .'* If no value is returned for **NextToken**, no next queries are sent.'."\n" - .'* If the value of **NextToken** is returned, the value indicates the token that is used for the next query.'."\n", - 'type' => 'string', - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED39DCAC0', 'title' => ''], + 'TotalCount' => ['description' => 'The number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries to return on each page. Valid values: **1** to **100**. Default value: **20**.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'NextToken' => ['description' => 'The token that is used for the next query. Valid values:'."\n" + ."\n" + .'- If **NextToken** is empty, no more results are available.'."\n" + ."\n" + .'- If a value is returned for **NextToken**, the value is the token that you can use in the next request to retrieve more results.', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], 'VpcPeerConnects' => [ - 'description' => 'The details of the VPC peering connections.'."\n", + 'description' => 'The details of the VPC peering connections.', 'type' => 'array', 'items' => [ - 'description' => 'The details of the VPC peering connection.'."\n", + 'description' => 'The details of the VPC peering connection.', 'type' => 'object', 'properties' => [ - 'AcceptingOwnerUid' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the accepter VPC belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '253460731706911258', - ], - 'Status' => [ - 'description' => 'The status of the VPC peering connection. Valid values:'."\n" - ."\n" - .'* **Creating**'."\n" - .'* **Accepting**'."\n" - .'* **Updating**'."\n" - .'* **Rejected**'."\n" - .'* **Expired**'."\n" - .'* **Activated**'."\n" - .'* **Deleting**'."\n" - .'* **Deleted**'."\n" - ."\n" - .'For more information about the status of VPC peering connections, see [Overview of VPC peering connections](~~418507~~).'."\n", - 'type' => 'string', - 'example' => 'Activated', - ], - 'Description' => [ - 'description' => 'The description of the VPC peering connection.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'ResourceGroupId' => [ - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'example' => 'rg-aek2gvbs746gt4q', - ], - 'InstanceId' => [ - 'description' => 'The ID of the VPC peering connection.'."\n", - 'type' => 'string', - 'example' => 'pcc-lnk0m24khwvtkm****', - ], - 'AcceptingRegionId' => [ - 'description' => 'The region ID of the accepter VPC.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'GmtModified' => [ - 'description' => 'The time when the VPC peering connection was modified. The time is displayed in the `YYYY-MM-DDThh:mm:ssZ` format in UTC.'."\n", - 'type' => 'string', - 'example' => '2022-04-24T19:20:45Z', - ], + 'AcceptingOwnerUid' => ['description' => 'The ID of the Alibaba Cloud account to which the accepter VPC belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '25346073170691****', 'title' => ''], + 'Status' => ['description' => 'The status of the VPC peering connection. Valid values:'."\n" + ."\n" + .'- **Creating**'."\n" + ."\n" + .'- **Accepting**'."\n" + ."\n" + .'- **Updating**'."\n" + ."\n" + .'- **Rejected**'."\n" + ."\n" + .'- **Expired**'."\n" + ."\n" + .'- **Activated**'."\n" + ."\n" + .'- **Deleting**'."\n" + ."\n" + .'- **Deleted**'."\n" + ."\n" + .'For more information about the states of a VPC peering connection, see [VPC Peering Connection Overview](~~418507~~).', 'type' => 'string', 'example' => 'Activated', 'title' => ''], + 'Description' => ['description' => 'The description of the VPC peering connection.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'example' => 'rg-acfmxazb4ph6aiy****', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the VPC peering connection.', 'type' => 'string', 'example' => 'pcc-lnk0m24khwvtkm****', 'title' => ''], + 'AcceptingRegionId' => ['description' => 'The region ID of the accepter VPC.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'GmtModified' => ['description' => 'The time when the VPC peering connection was modified. The time is displayed in UTC in the `YYYY-MM-DDThh:mm:ssZ` format.', 'type' => 'string', 'example' => '2022-04-24T19:20:45Z', 'title' => ''], 'Vpc' => [ - 'description' => 'The details of the requester VPC.'."\n", + 'description' => 'The details of the requester VPC.', 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the requester VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-bp1gsk7h12ew7oegk****', - ], + 'VpcId' => ['description' => 'The ID of the requester VPC.', 'type' => 'string', 'example' => 'vpc-bp1gsk7h12ew7oegk****', 'title' => ''], 'Ipv6Cidrs' => [ - 'description' => 'The IPv6 CIDR block of the requester VPC.'."\n", + 'description' => 'The IPv6 CIDR block of the requester VPC.', 'type' => 'array', - 'items' => [ - 'description' => 'The IPv6 CIDR block of the requester VPC.', - 'type' => 'string', - 'example' => '2408:XXXX:3c5:6e00::/56', - ], + 'items' => ['description' => 'The IPv6 CIDR block of the requester VPC.', 'type' => 'string', 'example' => '2408:XXXX:3c5:6e00::/56', 'title' => ''], + 'title' => '', + 'example' => '', ], 'Ipv4Cidrs' => [ - 'description' => 'The CIDR block of the requester VPC.'."\n", + 'description' => 'The IPv4 CIDR block of the requester VPC.', 'type' => 'array', - 'items' => [ - 'description' => 'The CIDR block of the requester VPC.', - 'type' => 'string', - 'example' => '192.168.0.0/16', - ], + 'items' => ['description' => 'The IPv4 CIDR block of the requester VPC.', 'type' => 'string', 'example' => '192.168.0.0/16', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'GmtExpired' => [ - 'description' => 'The expiration time of the VPC peering connection. The time is displayed in the `YYYY-MM-DDThh:mm:ssZ` format in UTC.'."\n" - ."\n" - .'The expiration time is returned only when the **Status** of the VPC peering connection is **Accepting** or **Expired**. Otherwise, **null** is returned.'."\n", - 'type' => 'string', - 'example' => '2022-05-01T09:02:36Z', - ], - 'Name' => [ - 'description' => 'The name of the VPC peering connection.'."\n", - 'type' => 'string', - 'example' => 'vpcpeer', - ], - 'BizStatus' => [ - 'description' => 'The business status of the VPC peering connection. Valid values:'."\n" - ."\n" - .'* **Normal**'."\n" - .'* **FinancialLocked**'."\n", - 'type' => 'string', - 'example' => 'Normal', - ], - 'GmtCreate' => [ - 'description' => 'The time when the VPC peering connection was created. The time is displayed in the `YYYY-MM-DDThh:mm:ssZ` format in UTC.'."\n", - 'type' => 'string', - 'example' => '2022-04-24T09:02:36Z', - ], - 'OwnerId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the requester VPC belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '253460731706911258', - ], - 'Bandwidth' => [ - 'description' => 'The bandwidth of the VPC peering connection. Unit: Mbit/s. The value is an integer greater than 0.'."\n" - ."\n" - .'> If the value is set to -1, it indicates that no limit is imposed on the bandwidth.'."\n" - ."\n" - .'Default value:'."\n" - ."\n" - .'* The default bandwidth of an inter-region VPC peering connection is **1024** Mbit/s.'."\n" - .'* The default bandwidth of an intra-region VPC peering connection is **-1** Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1024', - ], - 'RegionId' => [ - 'description' => 'The region ID of the requester VPC.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], + 'GmtExpired' => ['description' => 'The time when the VPC peering connection expires. The time is displayed in UTC in the `YYYY-MM-DDThh:mm:ssZ` format.'."\n" + ."\n" + .'This parameter is returned only when the VPC peering connection is in the **Accepting** or **Expired** state. For other states, this parameter is empty.', 'type' => 'string', 'example' => '2022-05-01T09:02:36Z', 'title' => ''], + 'Name' => ['description' => 'The name of the VPC peering connection.', 'type' => 'string', 'example' => 'vpcpeer', 'title' => ''], + 'BizStatus' => ['description' => 'The business status of the VPC peering connection. Valid values:'."\n" + ."\n" + .'- **Normal**'."\n" + ."\n" + .'- **FinancialLocked**: The VPC peering connection is locked due to an overdue payment.', 'type' => 'string', 'example' => 'Normal', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the VPC peering connection was created. The time is displayed in UTC in the `YYYY-MM-DDThh:mm:ssZ` format.', 'type' => 'string', 'example' => '2022-04-24T09:02:36Z', 'title' => ''], + 'OwnerId' => ['description' => 'The ID of the Alibaba Cloud account to which the requester VPC belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '25346073170691****', 'title' => ''], + 'Bandwidth' => ['description' => 'The bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer that is greater than 0.'."\n" + ."\n" + .'> A value of -1 indicates that no limit is imposed on the bandwidth.'."\n" + ."\n" + .'Default values:'."\n" + ."\n" + .'- The default bandwidth for a cross-region VPC peering connection is 1024 Mbit/s.'."\n" + ."\n" + .'- The default bandwidth for an intra-region VPC peering connection is -1. This value indicates that no limit is imposed on the bandwidth.', 'type' => 'integer', 'format' => 'int32', 'example' => '1024', 'title' => ''], + 'RegionId' => ['description' => 'The region ID of the requester VPC.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'AcceptingVpc' => [ - 'description' => 'The details of the accepter VPC.'."\n", + 'description' => 'The details of the accepter VPC.', 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the accepter VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-bp1vzjkp2q1xgnind****', - ], + 'VpcId' => ['description' => 'The ID of the accepter VPC.', 'type' => 'string', 'example' => 'vpc-bp1vzjkp2q1xgnind****', 'title' => ''], 'Ipv6Cidrs' => [ - 'description' => 'The IPv6 CIDR block of the accepter VPC.'."\n", + 'description' => 'The IPv6 CIDR block of the accepter VPC.', 'type' => 'array', - 'items' => [ - 'description' => 'The IPv6 CIDR block of the accepter VPC.', - 'type' => 'string', - 'example' => '2408:XXXX:3b8:3a00::/56', - ], + 'items' => ['description' => 'The IPv6 CIDR block of the accepter VPC.', 'type' => 'string', 'example' => '2408:XXXX:3b8:3a00::/56', 'title' => ''], + 'title' => '', + 'example' => '', ], 'Ipv4Cidrs' => [ - 'description' => 'The CIDR block of the accepter VPC.'."\n", + 'description' => 'The IPv4 CIDR block of the accepter VPC.', 'type' => 'array', - 'items' => [ - 'description' => 'The CIDR block of the accepter VPC.', - 'type' => 'string', - 'example' => '10.0.0.0/16', - ], + 'items' => ['description' => 'The IPv4 CIDR block of the accepter VPC.', 'type' => 'string', 'example' => '10.0.0.0/16', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'LinkType' => [ - 'description' => 'The link type of the VPC peering connection.', - 'type' => 'string', - 'example' => 'Gold', - ], + 'LinkType' => ['description' => 'The link type of the VPC peering connection.'."\n" + ."\n" + .'Default values:'."\n" + ."\n" + .'- The default link type for a cross-region VPC peering connection is Gold.'."\n" + ."\n" + .'- The default link type for an intra-region VPC peering connection is empty.', 'type' => 'string', 'example' => 'Gold', 'title' => ''], 'Tags' => [ - 'description' => 'The tag list.'."\n", + 'description' => 'The tags.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The tags.', 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => 'The tag value.'."\n", - 'type' => 'string', - 'example' => 'FinanceJoshua', - ], - 'Key' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'FinanceDept', - ], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'FinanceJoshua', 'title' => ''], + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'FinanceDept', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'ManagedService' => [ - 'title' => '归属云服务', - 'type' => 'string', - 'example' => 'SWAS', - ], + 'ManagedService' => ['description' => 'The Alibaba Cloud service to which the resource belongs.', 'type' => 'string', 'example' => 'SWAS', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED39DCAC0\\",\\n \\"TotalCount\\": 1,\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"VpcPeerConnects\\": [\\n {\\n \\"AcceptingOwnerUid\\": 0,\\n \\"Status\\": \\"Activated\\",\\n \\"Description\\": \\"test\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxazb4ph6aiy****\\",\\n \\"InstanceId\\": \\"pcc-lnk0m24khwvtkm****\\",\\n \\"AcceptingRegionId\\": \\"cn-hangzhou\\",\\n \\"GmtModified\\": \\"2022-04-24T19:20:45Z\\",\\n \\"Vpc\\": {\\n \\"VpcId\\": \\"vpc-bp1gsk7h12ew7oegk****\\",\\n \\"Ipv6Cidrs\\": [\\n \\"2408:XXXX:3c5:6e00::/56\\"\\n ],\\n \\"Ipv4Cidrs\\": [\\n \\"192.168.0.0/16\\"\\n ]\\n },\\n \\"GmtExpired\\": \\"2022-05-01T09:02:36Z\\",\\n \\"Name\\": \\"vpcpeer\\",\\n \\"BizStatus\\": \\"Normal\\",\\n \\"GmtCreate\\": \\"2022-04-24T09:02:36Z\\",\\n \\"OwnerId\\": 0,\\n \\"Bandwidth\\": 1024,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"AcceptingVpc\\": {\\n \\"VpcId\\": \\"vpc-bp1vzjkp2q1xgnind****\\",\\n \\"Ipv6Cidrs\\": [\\n \\"2408:XXXX:3b8:3a00::/56\\"\\n ],\\n \\"Ipv4Cidrs\\": [\\n \\"10.0.0.0/16\\"\\n ]\\n },\\n \\"LinkType\\": \\"Gold\\",\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"FinanceJoshua\\",\\n \\"Key\\": \\"FinanceDept\\"\\n }\\n ],\\n \\"ManagedService\\": \\"SWAS\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListVpcPeerConnectionsResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED39DCAC0</RequestId>\\n <TotalCount>1</TotalCount>\\n <MaxResults>20</MaxResults>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <VpcPeerConnects>\\n <InstanceId>pcc-lnk0m24khwvtkm****</InstanceId>\\n <GmtCreate>2022-04-24T09:02:36Z</GmtCreate>\\n <GmtModified>2022-04-24T19:20:45Z</GmtModified>\\n <Name>vpcpeer</Name>\\n <Description>test</Description>\\n <RegionId>cn-hangzhou</RegionId>\\n <AcceptingRegionId>cn-hangzhou</AcceptingRegionId>\\n <Bandwidth>1024</Bandwidth>\\n <Status>Activated</Status>\\n <BizStatus>Normal</BizStatus>\\n <GmtExpired>2022-05-01T09:02:36Z</GmtExpired>\\n <ResourceGroupId>rg-acfmxazb4ph6aiy****</ResourceGroupId>\\n <Vpc>\\n <VpcId>vpc-bp1gsk7h12ew7oegk****</VpcId>\\n <Ipv4Cidrs>192.168.0.0/16</Ipv4Cidrs>\\n <Ipv6Cidrs>2408:XXXX:3c5:6e00::/56</Ipv6Cidrs>\\n </Vpc>\\n <AcceptingVpc>\\n <VpcId>vpc-bp1vzjkp2q1xgnind****</VpcId>\\n <Ipv4Cidrs>10.0.0.0/16</Ipv4Cidrs>\\n <Ipv6Cidrs>2408:XXXX:3b8:3a00::/56</Ipv6Cidrs>\\n </AcceptingVpc>\\n <Tags>\\n <Key>FinanceDept</Key>\\n <Value>FinanceJoshua</Value>\\n </Tags>\\n </VpcPeerConnects>\\n</ListVpcPeerConnectionsResponse>","errorExample":""}]', 'title' => 'ListVpcPeerConnections', + 'summary' => 'Queries VPC peering connections.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListVpcPeerConnections'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'vpc:ListVpcPeerConnections', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'VpcPeer', 'arn' => 'acs:vpc:*:{#AccountId}:vpcpeer/{#InstanceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED39DCAC0\\",\\n \\"TotalCount\\": 1,\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"VpcPeerConnects\\": [\\n {\\n \\"AcceptingOwnerUid\\": 0,\\n \\"Status\\": \\"Activated\\",\\n \\"Description\\": \\"test\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxazb4ph6aiy****\\",\\n \\"InstanceId\\": \\"pcc-lnk0m24khwvtkm****\\",\\n \\"AcceptingRegionId\\": \\"cn-hangzhou\\",\\n \\"GmtModified\\": \\"2022-04-24T19:20:45Z\\",\\n \\"Vpc\\": {\\n \\"VpcId\\": \\"vpc-bp1gsk7h12ew7oegk****\\",\\n \\"Ipv6Cidrs\\": [\\n \\"2408:XXXX:3c5:6e00::/56\\"\\n ],\\n \\"Ipv4Cidrs\\": [\\n \\"192.168.0.0/16\\"\\n ]\\n },\\n \\"GmtExpired\\": \\"2022-05-01T09:02:36Z\\",\\n \\"Name\\": \\"vpcpeer\\",\\n \\"BizStatus\\": \\"Normal\\",\\n \\"GmtCreate\\": \\"2022-04-24T09:02:36Z\\",\\n \\"OwnerId\\": 0,\\n \\"Bandwidth\\": 1024,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"AcceptingVpc\\": {\\n \\"VpcId\\": \\"vpc-bp1vzjkp2q1xgnind****\\",\\n \\"Ipv6Cidrs\\": [\\n \\"2408:XXXX:3b8:3a00::/56\\"\\n ],\\n \\"Ipv4Cidrs\\": [\\n \\"10.0.0.0/16\\"\\n ]\\n },\\n \\"LinkType\\": \\"Gold\\",\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"FinanceJoshua\\",\\n \\"Key\\": \\"FinanceDept\\"\\n }\\n ],\\n \\"ManagedService\\": \\"SWAS\\"\\n }\\n ]\\n}","type":"json"}]', ], 'ModifyVpcPeerConnection' => [ - 'summary' => 'Modifies the description or name of a virtual private cloud (VPC) peering connection.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1578,184 +1094,120 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the VPC peering connection whose name or description you want to modify.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'pcc-lnk0m24khwvtkm****', - ], + 'schema' => ['description' => 'The ID of the VPC peering connection.', 'type' => 'string', 'required' => true, 'example' => 'pcc-lnk0m24khwvtkm****', 'title' => ''], ], [ 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'description' => 'The new name of the VPC peering connection.'."\n" - ."\n" - .'The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpcpeername', - ], + 'schema' => ['description' => 'The new name of the VPC peering connection.'."\n" + ."\n" + .'The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'vpcpeername', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'description' => 'The new description of the VPC peering connection.'."\n" - ."\n" - .'The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'newdescription', - ], + 'schema' => ['description' => 'The new description of the VPC peering connection.'."\n" + ."\n" + .'The description must be 1 to 256 characters in length and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'newdescription', 'title' => ''], ], [ 'name' => 'Bandwidth', 'in' => 'formData', - 'schema' => [ - 'description' => 'The new bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => 'The new bandwidth of the VPC peering connection. Unit: Mbps. The value must be an integer greater than 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to only precheck the request. Valid values:'."\n" - ."\n" - .'* **true**: checks the request without performing the operation. The system prechecks the required parameters, request syntax, and limits. If the request fails the precheck, an error message is returned. If the request passes the check, the `DryRunOperation` error code is returned.'."\n" - .'* **false** (default): sends the request. If the request passes the precheck, an HTTP 2xx status code is returned and the operation is performed.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: Performs a dry run. The system checks the required parameters, request format, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.'."\n" + ."\n" + .'- **false** (Default): Sends a normal request. After the check passes, an HTTP 2xx status code is returned and the operation is performed.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n" - ."\n" - .'You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters.'."\n" - ."\n" - .'> If you do not specify this parameter, the system uses **RequestId** as **ClientToken**. **RequestId** may be different for each API request.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n" + ."\n" + .'Generate a unique token on your client for each request. The token can contain only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the request as the **ClientToken**. The **RequestId** may be different for each request.', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760', 'title' => ''], ], [ 'name' => 'LinkType', 'in' => 'query', - 'schema' => [ - 'description' => 'Type of connection. Valid values:'."\n" - ."\n" - .'- Platinum.'."\n" - ."\n" - .'- Gold: default value.'."\n" - ."\n" - .'> '."\n" - .'> - If you need to specify this parameter, ensure that the VPC peering connection is an inter-region connection.', - 'type' => 'string', - 'required' => false, - 'example' => 'Gold', - ], + 'schema' => ['description' => 'The link type.'."\n" + ."\n" + .'Valid values: Platinum and Gold. The default value is Gold.'."\n" + ."\n" + .'> If you specify this parameter, make sure that you create a cross-region peering connection.', 'type' => 'string', 'required' => false, 'example' => 'Gold', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse<ModifyVpcPeerResponse>', - 'description' => 'RpcResponse<ModifyVpcPeerResponse>', + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '880C99E1-449B-524A-B81F-1EC53D2A7EAC', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '880C99E1-449B-524A-B81F-1EC53D2A7EAC', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ResourceNotFound.InstanceId', - 'errorMessage' => 'The specified resource of %s is not found.', - ], - [ - 'errorCode' => 'IncorrectStatus.VpcPeer', - 'errorMessage' => 'The status of %s [%s] is incorrect.', - ], - [ - 'errorCode' => 'IncorrectBusinessStatus.VpcPeer', - 'errorMessage' => 'The business status of %s [%s] is incorrect.', - ], - [ - 'errorCode' => 'OperationFailed.BandwidthCannotBeChangedInSameRegion', - 'errorMessage' => 'The operation failed because the bandwidth cannot be changed in the same region.', - ], - [ - 'errorCode' => 'QuotaExceeded.Bandwidth', - 'errorMessage' => 'The quota of bandwidth is exceeded.', - ], - [ - 'errorCode' => 'OperationFailed.InterRegionLinkTypeNotSupported', - 'errorMessage' => 'The same region not supported link type feature.', - ], - [ - 'errorCode' => 'OperationFailed.RegionIdNotSupportLinkType', - 'errorMessage' => 'The feature link type is not supported in the region.', - ], - [ - 'errorCode' => 'OperationFailed.SpecificLinkTypeNotSupported', - 'errorMessage' => 'The operation failed because the special link type of user is not opened.', - ], - [ - 'errorCode' => 'OperationDenied.ServiceManagedInstance', - 'errorMessage' => 'Operation is denied because the specified instance belongs to service manager.', - ], - [ - 'errorCode' => 'OperationFailed.ChargeTypeNotSupported', - 'errorMessage' => 'Operation failed because the CDT charge type of receiver or accepter does not support the Underlay link type.', - ], + ['errorCode' => 'ResourceNotFound.InstanceId', 'errorMessage' => 'The specified resource of %s is not found.', 'description' => 'The specified instance is not found'], + ['errorCode' => 'IncorrectStatus.VpcPeer', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => 'The status of the peer-to-peer connection instance does not meet the requirements. In this status, the peer-to-peer connection instance cannot be received.'], + ['errorCode' => 'IncorrectBusinessStatus.VpcPeer', 'errorMessage' => 'The business status of %s [%s] is incorrect.', 'description' => 'The current instance status is abnormal and the current operation is not allowed.'], + ['errorCode' => 'OperationFailed.BandwidthCannotBeChangedInSameRegion', 'errorMessage' => 'The operation failed because the bandwidth cannot be changed in the same region.', 'description' => 'The operation failed because VpcPeer instances in the same region are not allowed to modify the bandwidth value.'], + ['errorCode' => 'QuotaExceeded.Bandwidth', 'errorMessage' => 'The quota of bandwidth is exceeded.', 'description' => 'The specified bandwidth is invalid.'], + ['errorCode' => 'OperationFailed.InterRegionLinkTypeNotSupported', 'errorMessage' => 'The same region not supported link type feature.', 'description' => 'Link type characteristics are not supported in the same region.'], + ['errorCode' => 'OperationFailed.RegionIdNotSupportLinkType', 'errorMessage' => 'The feature link type is not supported in the region.', 'description' => 'The gold, silver and copper settings for this feature are not supported in the region.'], + ['errorCode' => 'OperationFailed.SpecificLinkTypeNotSupported', 'errorMessage' => 'The operation failed because the special link type of user is not opened.', 'description' => 'The account does not support special link types.'], + ['errorCode' => 'OperationDenied.ServiceManagedInstance', 'errorMessage' => 'Operation is denied because the specified instance belongs to service manager.', 'description' => ''], + ['errorCode' => 'OperationFailed.ChargeTypeNotSupported', 'errorMessage' => 'Operation failed because the CDT charge type of receiver or accepter does not support the Underlay link type.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"880C99E1-449B-524A-B81F-1EC53D2A7EAC\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyVpcPeerConnectionResponse>\\n <RequestId>880C99E1-449B-524A-B81F-1EC53D2A7EAC</RequestId>\\n</ModifyVpcPeerConnectionResponse>","errorExample":""}]', 'title' => 'ModifyVpcPeerConnection', - 'description' => '* The **ModifyVpcPeerConnection** operation is asynchronous. After you send a request, the system returns **RequestId**, but the operation is still being performed in the background. You can call the [GetVpcPeerConnectionAttribute](~~426100~~) operation to query the status of a VPC peering connection.'."\n" + 'summary' => 'Modifies the name or description of a VPC peering connection.', + 'description' => '- **ModifyVpcPeerConnection** is an asynchronous operation. After you send a request, the system returns a **RequestId**, while running the task in the background. Call the [GetVpcPeerConnectionAttribute](~~426100~~) operation to query the status of the VPC peering connection.'."\n" ."\n" - .' * If a VPC peering connection is in the **Updating** state, the VPC peering connection is being modified.'."\n" - .' * If a VPC peering connection is in the **Activated** state, the VPC peering connection is modified.'."\n" + .' - **Updating** indicates that the instance is being modified.'."\n" ."\n" - .'* You cannot repeatedly call the **ModifyVpcPeerConnection** operation for the same VPC peering connection within the specified period of time.', + .' - **Activated** indicates that the modification is complete.'."\n" + ."\n" + .'- The **ModifyVpcPeerConnection** operation does not support concurrent requests to modify the same VPC peering connection.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyVpcPeerConnection'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'vpc:ModifyVpcPeerConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"880C99E1-449B-524A-B81F-1EC53D2A7EAC\\"\\n}","type":"json"}]', ], 'MoveResourceGroup' => [ - 'summary' => 'Moves a Virtual Private Cloud (VPC) peering connection from one resource group to another.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1763,109 +1215,84 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the VPC peering connection.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'pcc-gu32s92f9ytsk9****', - ], + 'schema' => ['description' => 'The ID of the peering connection instance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'pcc-gu32s92f9ytsk9****'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type. Set the value to **PeerConnection**, which specifies a VPC peering connection.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'PeerConnection', - ], + 'schema' => ['description' => 'The resource type. Set the value to **PeerConnection** for a VPC peering connection.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'PeerConnection'], ], [ 'name' => 'NewResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the new resource group.'."\n" - ."\n" - .'> You can use resource groups to manage resources within your Alibaba Cloud account by group. This helps you resolve issues such as resource grouping and permission management for your Alibaba Cloud account. For more information, see [What is resource management?](~~94475~~)'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'rg-acfm3peow3k****', - ], + 'schema' => ['description' => 'The ID of the resource group to which you want to move the peering connection instance.'."\n" + ."\n" + .'> This feature lets you manage resources under your Alibaba Cloud account in groups. This simplifies tasks such as resource grouping and permission management within a single account. See [What is Resource Management?](~~94475~~)', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'rg-acfm3peow3k****'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the resource.'."\n" - ."\n" - .'You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region to which the resource belongs.'."\n" + ."\n" + .'You can call the [DescribeRegions](~~36063~~) operation to obtain a region ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse<CreateVpcPeerResponse>', - 'description' => 'The request ID.'."\n", + 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F'], + 'Success' => ['description' => 'Indicates whether the resource group was changed. Valid values:'."\n" + ."\n" + .'- **true**: The resource group was changed.'."\n" + ."\n" + .'- **false**: The change failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'OperationFailed.NotExist.ResourceGroup', - 'errorMessage' => 'The operation failed because the resource group not exist.', - ], - [ - 'errorCode' => 'ResourceNotFound.VpcPeer', - 'errorMessage' => 'The specified resource of VpcPeer is not found.', - ], + ['errorCode' => 'OperationFailed.NotExist.ResourceGroup', 'errorMessage' => 'The operation failed because the resource group not exist.', 'description' => 'The operation failed because the resource group does not exist.'], + ['errorCode' => 'ResourceNotFound.VpcPeer', 'errorMessage' => 'The specified resource of VpcPeer is not found.', 'description' => 'The VPC peering connection does not exist.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<MoveResourceGroupResponse>\\n <RequestId>611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F</RequestId>\\n <Success>true</Success>\\n</MoveResourceGroupResponse>","errorExample":""}]', 'title' => 'MoveResourceGroup', + 'summary' => 'Moves a VPC peering connection to a different resource group.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'MoveResourceGroup'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'vpc:MoveResourceGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'VpcPeer', 'arn' => 'acs:vpc:*:{#AccountId}:vpcpeer/{#ResourceId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F\\",\\n \\"Success\\": true\\n}","type":"json"}]', ], 'RejectVpcPeerConnection' => [ - 'summary' => 'Rejects a virtual private cloud (VPC) peering connection request.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Rejects a connection request for a VPC peering connection.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1873,96 +1300,79 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the VPC peering connection to be rejected by the acceptor VPC.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'pcc-lnk0m24khwvtkm0****', - ], + 'schema' => ['description' => 'The ID of the VPC peering connection.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'pcc-lnk0m24khwvtkm0****'], ], [ 'name' => 'DryRun', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to check the request without performing the operation. Valid values:'."\n" - ."\n" - .'* **true**: checks the request without performing the operation. The system checks the required parameters, request syntax, and limits. If the request fails to pass the check, an error message is returned. If the request passes the check, the `DryRunOperation` error code is returned.'."\n" - .'* **false** (default): sends the request. If the request passes the check, an HTTP 2xx status code is returned and the operation is performed.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: Sends a check request without rejecting the connection request. The system checks whether the required parameters are specified, the request format is valid, and the service limits are met. If the check fails, the corresponding error is returned. If the check passes, the `DryRunOperation` error code is returned.'."\n" + ."\n" + .'- **false** (default): Sends a normal request. After the request passes the check, an HTTP 2xx status code is returned and the operation is performed.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n" - ."\n" - .'You can use the client to generate the value, but you must make sure that it is unique among different requests. The client token can contain only ASCII characters.'."\n" - ."\n" - .'> If you do not set this parameter, the system uses **RequestId** as **ClientToken**. The value of **RequestId** for each API request may be different.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n" + ."\n" + .'Generate a parameter value from your client to make sure that the value is unique among different requests. The ClientToken parameter can contain only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may be different for each API request.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '123e4567-e89b-12d3-a456-426655440000'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse<RejectVpcPeerResponse>', - 'description' => 'RpcResponse<RejectVpcPeerResponse>', + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '4EC47282-1B74-4534-BD2E-403F3EE64CAF', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4EC47282-1B74-4534-BD2E-403F3EE64CAF'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ResourceNotFound.InstanceId', - 'errorMessage' => 'The specified resource of %s is not found.', - ], - [ - 'errorCode' => 'IncorrectStatus.VpcPeer', - 'errorMessage' => 'The status of %s [%s] is incorrect.', - ], + ['errorCode' => 'ResourceNotFound.InstanceId', 'errorMessage' => 'The specified resource of %s is not found.', 'description' => 'The specified instance is not found'], + ['errorCode' => 'IncorrectStatus.VpcPeer', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => 'The status of the peer-to-peer connection instance does not meet the requirements. In this status, the peer-to-peer connection instance cannot be received.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD2E-403F3EE64CAF\\"\\n}","errorExample":""},{"type":"xml","example":"<RejectVpcPeerConnectionResponse>\\n <RequestId>4EC47282-1B74-4534-BD2E-403F3EE64CAF</RequestId>\\n</RejectVpcPeerConnectionResponse>","errorExample":""}]', 'title' => 'RejectVpcPeerConnection', - 'description' => '* An acceptor VPC can reject a connection request from the requester VPC of a cross-account VPC peering connection. After the connection request is rejected, the VPC peering connection enters the **Rejected** state.'."\n" - .'* You cannot repeatedly call the **RejectVpcPeerConnection** operation for the same VPC peering connection within the specified period of time.', + 'description' => '- For a cross-account VPC peering connection, the accepter VPC can reject the connection request. After the request is rejected, the VPC peering connection enters the **Rejected** state.'."\n" + ."\n" + .'- The **RejectVpcPeerConnection** operation does not support concurrent requests for the same VPC peering connection.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RejectVpcPeerConnection'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'vpc:RejectVpcPeerConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD2E-403F3EE64CAF\\"\\n}","type":"json"}]', ], 'TagResources' => [ - 'summary' => 'Creates tags and adds them to a virtual private cloud (VPC) peering connection.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1970,31 +1380,21 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The IDs of resources.'."\n", + 'description' => 'The ID of the resource. You can specify up to 20 resource IDs.', 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the resource. You can specify at most 20 IDs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'pcc-bp16qjewdsunr41m1****', - ], + 'items' => ['description' => 'The ID of the resource. You can specify up to 20 resource IDs.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'pcc-bp16qjewdsunr41m1****'], 'required' => true, 'maxItems' => 50, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ @@ -2002,161 +1402,126 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The tags.'."\n", + 'description' => 'The tag details.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The tag details.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key. You must specify at least one tag key and at most 20 tag keys. The tag key cannot be an empty string.'."\n" - ."\n" - .'The tag key can be up to 128 characters in length. It cannot start with `acs:` or `aliyun` and cannot contain `http://` or `https://`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'FinanceDept', - ], - 'Value' => [ - 'description' => 'The tag value. You must specify at least one tag value and can specify at most 20 tag values. The tag value can be an empty string.'."\n" - ."\n" - .'The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'FinanceJoshua', - ], + 'Key' => ['description' => 'The tag key. You must specify 1 to 20 tag keys. The tag key cannot be an empty string.'."\n" + ."\n" + .'The tag key can be up to 128 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'FinanceDept'], + 'Value' => ['description' => 'The tag value. You must specify 1 to 20 tag values. The tag value can be an empty string.'."\n" + ."\n" + .'The tag value can be up to 128 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'FinanceJoshua'], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => true, 'maxItems' => 21, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the resource. Set the value to **PeerConnection**, which specifies a VPC peering connection.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'PeerConnection', - ], + 'schema' => ['description' => 'The resource type. Set the value to **PeerConnection**.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'PeerConnection'], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n" - ."\n" - .'You can use the client to generate the token, but you must make sure that the token is unique among all requests. The token can contain only ASCII characters.'."\n" - ."\n" - .'> If you do not specify this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** for each API request may be different.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n" + ."\n" + .'Generate a unique token for each request from your client. The token can contain only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the request as the **ClientToken**. The **RequestId** of each request may be different.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '123e4567-e89b-12d3-a456-426655440000'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the resource to which you want to create and add tags.'."\n" - ."\n" - .'You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where the resource is located.'."\n" + ."\n" + .'For more information, see [DescribeRegions](~~36063~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse<CreateVpcPeerResponse>', - 'description' => '', + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0'], + 'Success' => ['description' => 'Indicates whether the tags were created and attached. Valid values:'."\n" + ."\n" + .'- **true**'."\n" + ."\n" + .'- **false**', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NumberExceed.Tags', - 'errorMessage' => 'The maximum number of tags is exceeded.', - ], - [ - 'errorCode' => 'NumberExceed.ResourceIds', - 'errorMessage' => 'The maximum number of resource IDs is exceeded.', - ], - [ - 'errorCode' => 'Forbidden.TagKeys', - 'errorMessage' => 'The tag key cannot be operated by the request.', - ], - [ - 'errorCode' => 'Forbidden.TagKey.Duplicated', - 'errorMessage' => 'The specified tag key already exists.', - ], - [ - 'errorCode' => 'InvalidInstanceIds.NotFound', - 'errorMessage' => 'The instance IDs are not found.', - ], - [ - 'errorCode' => 'InvalidInstanceType.NotFound', - 'errorMessage' => 'The instance type is not found.', - ], - [ - 'errorCode' => 'IllegalParam.TagKey', - 'errorMessage' => 'The param of Tag.Key is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.TagValue', - 'errorMessage' => 'The param of Tag.Value is illegal.', - ], + ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of tags is exceeded.', 'description' => 'The number of tags has reached the upper limit.'], + ['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of resource IDs is exceeded.', 'description' => 'The number of resource group IDs exceeds the upper limit.'], + ['errorCode' => 'Forbidden.TagKeys', 'errorMessage' => 'The tag key cannot be operated by the request.', 'description' => 'You cannot manage the tag key by calling the operation.'], + ['errorCode' => 'Forbidden.TagKey.Duplicated', 'errorMessage' => 'The specified tag key already exists.', 'description' => 'The tag resources are duplicate.'], + ['errorCode' => 'InvalidInstanceIds.NotFound', 'errorMessage' => 'The instance IDs are not found.', 'description' => 'The instance ID is invalid.'], + ['errorCode' => 'InvalidInstanceType.NotFound', 'errorMessage' => 'The instance type is not found.', 'description' => 'The instance type is invalid.'], + ['errorCode' => 'IllegalParam.TagKey', 'errorMessage' => 'The param of Tag.Key is illegal.', 'description' => 'The specified parameter Tag.Key is invalid.'], + ['errorCode' => 'IllegalParam.TagValue', 'errorMessage' => 'The param of Tag.Value is illegal.', 'description' => 'The specified parameter Tag.Value is illegal.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C46FF5A8-C5F0-4024-8262-B16B639225A0\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\n <RequestId>C46FF5A8-C5F0-4024-8262-B16B639225A0</RequestId>\\n <Success>true</Success>\\n</TagResourcesResponse>","errorExample":""}]', 'title' => 'TagResources', - 'description' => 'Tags are used to classify instances. Each tag consists of a key-value pair. Before you use tags, take note of the following limits:'."\n" + 'summary' => 'Creates and attaches tags to VPC peering connections.', + 'description' => 'A tag is a mark that you assign to a resource. Each tag consists of a key-value pair. Take note the following:'."\n" ."\n" - .'* The keys of tags that are added to the same instance must be unique.'."\n" + .'- Each tag key must be unique for a resource.'."\n" ."\n" - .'* You cannot create tags without adding them to instances. All tags must be added to instances.'."\n" + .'- You cannot create unattached tags.'."\n" ."\n" - .'* Tag information is not shared across regions.'."\n" + .'- Tags are region-specific.'."\n" ."\n" - .' For example, you cannot view the tags that are created in the China (Hangzhou) region from the China (Shanghai) region.'."\n" + .' For example, tags that you create in the China (Hangzhou) region are not visible in the China (Shanghai) region.'."\n" ."\n" - .'* For the same account and region, tags added to different VPC peering connections are shared.'."\n" + .'- Within the same account and region, tags are shared across different VPC peering connections.'."\n" ."\n" - .' For example, if a tag is added to a VPC peering connection, the tag can also be added to other VPC peering connections within the same account and region. You can modify the key and the value of a tag or remove a tag from an instance. After you delete an instance, all tags that are added to the instance are deleted.'."\n" + .' ```'."\n" + .' For example, if you attach a tag to a VPC peering connection in your account and region, you can attach the same tag to other VPC peering connections without re-entering the key-value pair. You can modify the key and value of a tag, or delete a tag from an instance at any time. If you delete an instance, all tags attached to it are also deleted.'."\n" + .' ```'."\n" ."\n" - .'* You can add up to 20 tags to each instance. Before you add a tag to an instance, the system automatically checks the number of existing tags. An error message is returned if the maximum number of tags is reached.', + .'- You can attach a maximum of 20 tags to an instance. Before attaching a tag, the system verifies the number of existing tags on the resource. If this limit is exceeded, an error message is returned.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'vpc:TagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:*:{#AccountId}:vpcpeer/{#PeeringId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C46FF5A8-C5F0-4024-8262-B16B639225A0\\",\\n \\"Success\\": true\\n}","type":"json"}]', ], 'UnTagResources' => [ - 'summary' => 'Removes tags from specified Virtual Private Cloud (VPC) peering connections.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Detaches tags from VPC peering connections.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2164,32 +1529,22 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => false, - 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The IDs of resources.'."\n", + 'description' => 'The resource ID. You can specify up to 20 resource IDs.', 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the resource. You can specify up to 20 resource IDs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'pcc-bp16qjewdsunr41m1****', - ], + 'items' => ['description' => 'The resource ID. You can specify up to 20 resource IDs.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'pcc-bp16qjewdsunr41m1****'], 'deprecated' => false, 'required' => true, 'maxItems' => 50, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ @@ -2197,240 +1552,361 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The key of the tag that you want to remove. You can specify at most 20 tag keys. It can be an empty string.'."\n" + 'description' => 'The key of the tag to detach. You can specify up to 20 tag keys. An empty string is supported.'."\n" ."\n" - .'It can be up to 128 characters in length. It cannot start with `acs:` or `aliyun` and cannot contain `http://` or `https://`.'."\n", + .'The tag key can be up to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.', 'type' => 'array', - 'items' => [ - 'description' => 'The key of the tag that you want to remove. You can specify at most 20 tag keys. It can be an empty string.'."\n" - ."\n" - .'It can be up to 128 characters in length. It cannot start with `acs:` or `aliyun` and cannot contain `http://` or `https://`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'FinanceDept', - ], + 'items' => ['description' => 'The key of the tag to detach. You can specify up to 20 tag keys. An empty string is supported.'."\n" + ."\n" + .'The tag key can be up to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'FinanceDept'], 'required' => false, 'maxItems' => 21, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'All', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to remove all tags from the specified resource. Valid values:'."\n" - ."\n" - .'* **true**: removes all tags from the specified resource.'."\n" - .'* **false**: does not remove all tags from the specified resource. This is the default value.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to detach all tags from the resource. Valid values:'."\n" + ."\n" + .'- **true**: Detaches all tags from the resource.'."\n" + ."\n" + .'- **false** (default): Does not detach all tags from the resource.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the resource. Set the value to **PeerConnection**, which specifies a VPC peering connection.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'PeerConnection', - ], + 'schema' => ['description' => 'The resource type. Set the value to **PeerConnection**, which specifies a VPC peering connection.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'PeerConnection'], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n" - ."\n" - .'You can use the client to generate the token, but you must make sure that the token is unique among all requests. The token can contain only ASCII characters.'."\n" - ."\n" - .'> If you do not specify this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** for each API request may be different.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'A client token to ensure that the request is idempotent.'."\n" + ."\n" + .'Generate a unique token from your client for each request. The token can contain only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system uses the **RequestId** of the request as the **ClientToken**. The **RequestId** may be different for each request.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '123e4567-e89b-12d3-a456-426655440000'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the tag.'."\n" - ."\n" - .'You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where the resource is located.'."\n" + ."\n" + .'For more information, see [DescribeRegions](~~36063~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse<CreateVpcPeerResponse>', - 'description' => '', + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0', - ], - 'Success' => [ - 'description' => 'Indicates whether the tags are removed. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0'], + 'Success' => ['description' => 'Indicates whether the tags were detached. Valid values:'."\n" + ."\n" + .'- **true**: The tags were detached.'."\n" + ."\n" + .'- **false**: The tags failed to be detached.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NumberExceed.Tags', - 'errorMessage' => 'The maximum number of tags is exceeded.', + ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of tags is exceeded.', 'description' => 'The number of tags has reached the upper limit.'], + ['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of resource IDs is exceeded.', 'description' => 'The number of resource group IDs exceeds the upper limit.'], + ['errorCode' => 'Forbidden.TagKeys', 'errorMessage' => 'The tag key cannot be operated by the request.', 'description' => 'You cannot manage the tag key by calling the operation.'], + ['errorCode' => 'Forbidden.TagKey.Duplicated', 'errorMessage' => 'The specified tag key already exists.', 'description' => 'The tag resources are duplicate.'], + ['errorCode' => 'InvalidInstanceIds.NotFound', 'errorMessage' => 'The instance IDs are not found.', 'description' => 'The instance ID is invalid.'], + ['errorCode' => 'InvalidInstanceType.NotFound', 'errorMessage' => 'The instance type is not found.', 'description' => 'The instance type is invalid.'], + ], + ], + 'title' => 'UnTagResources', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UnTagResources'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'vpc:UnTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vpcpeer/{#InstanceId}'], + ], ], - [ - 'errorCode' => 'NumberExceed.ResourceIds', - 'errorMessage' => 'The maximum number of resource IDs is exceeded.', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C46FF5A8-C5F0-4024-8262-B16B639225A0\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-northeast-2', 'regionName' => 'South Korea (Seoul)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-6', 'regionName' => 'Philippines (Manila)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-7', 'regionName' => 'Thailand (Bangkok)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-guangzhou', 'regionName' => 'China (Guangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-heyuan', 'regionName' => 'China (Heyuan)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-nanjing', 'regionName' => 'China (Nanjing - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'me-central-1', 'regionName' => 'Saudi Arabia (Riyadh)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [ + ['code' => 'BothEmpty.TagsAndResources', 'message' => 'The specified Tags and ResourcesIds are not allow to both empty.', 'http_code' => 400, 'description' => 'The tag and resource information cannot be empty at the same time.'], + ['code' => 'Conflict.Operation', 'message' => 'There are other peering operations on the requester VPC or accepter VPC, try again later.', 'http_code' => 400, 'description' => 'There are other VpcPeer changes to the initiator VPC or the receiver VPC. You need to try again later.'], + ['code' => 'DryRunOperation', 'message' => 'The operation DryRun verifies success.', 'http_code' => 400, 'description' => 'The operation DryRun verifies success.'], + ['code' => 'Forbidden.NoPermission', 'message' => 'Authentication is failed for %s.', 'http_code' => 400, 'description' => 'Permission verification failed.'], + ['code' => 'Forbidden.TagKey.Duplicated', 'message' => 'The specified tag key already exists.', 'http_code' => 400, 'description' => 'The tag resources are duplicate.'], + ['code' => 'Forbidden.TagKeys', 'message' => 'The tag key cannot be operated by the request.', 'http_code' => 400, 'description' => 'You cannot manage the tag key by calling the operation.'], + ['code' => 'IllegalParam.%s', 'message' => 'The param of %s is illegal.', 'http_code' => 400, 'description' => 'The specified parameter is set to an invalid value.'], + ['code' => 'IllegalParam.TagKey', 'message' => 'The param of Tag.Key is illegal.', 'http_code' => 400, 'description' => 'The specified parameter Tag.Key is invalid.'], + ['code' => 'IllegalParam.TagValue', 'message' => 'The param of Tag.Value is illegal.', 'http_code' => 400, 'description' => 'The specified parameter Tag.Value is illegal.'], + ['code' => 'IncorrectBusinessStatus.AcceptUserVpcPeer', 'message' => 'The business status of %s [%s] is incorrect.', 'http_code' => 400, 'description' => 'The peer VPC is in an invalid business state.'], + ['code' => 'IncorrectBusinessStatus.AcceptVpcPeer', 'message' => 'The business status of peer account is incorrect.', 'http_code' => 400, 'description' => 'The business status of the peer VpcPeer in an invalid state.'], + ['code' => 'IncorrectBusinessStatus.VpcPeer', 'message' => 'The business status of %s [%s] is incorrect.', 'http_code' => 400, 'description' => 'The current instance status is abnormal and the current operation is not allowed.'], + ['code' => 'IncorrectStatus.AcceptingVpc', 'message' => 'The status of %s [%s] is incorrect.', 'http_code' => 400, 'description' => 'The receiving VPC status is incorrect.'], + ['code' => 'IncorrectStatus.Vpc', 'message' => 'The status of %s [%s] is incorrect.', 'http_code' => 400, 'description' => 'The status of the initiator VPC instance is incorrect.'], + ['code' => 'IncorrectStatus.VpcPeer', 'message' => '%s [%s] status is invalid.', 'http_code' => 400, 'description' => 'The VPC peering connection is in an invalid state.'], + ['code' => 'IncorrectStatus.VpcPeer', 'message' => 'The status of %s [%s] is incorrect.', 'http_code' => 400, 'description' => 'The status of the peer-to-peer connection instance does not meet the requirements. In this status, the peer-to-peer connection instance cannot be received.'], + ['code' => 'InvalidAcceptingAliUid', 'message' => 'Specified parameter AcceptingAliUid is not valid.', 'http_code' => 400, 'description' => 'The Alibaba Cloud account for which you want to create an accepter VPC is invalid.'], + ['code' => 'InvalidBandwidth', 'message' => 'Specified parameter Bandwidth is not valid.', 'http_code' => 400, 'description' => 'The specified bandwidth is invalid and cannot be modified.'], + ['code' => 'InvalidInstanceIds.NotFound', 'message' => 'The instance IDs are not found.', 'http_code' => 400, 'description' => 'The instance ID is invalid.'], + ['code' => 'InvalidInstanceIds.NotFound', 'message' => 'The operation failed because of invalid instanceId.', 'http_code' => 400, 'description' => 'The specified instance ID is invalid.'], + ['code' => 'InvalidInstanceType.NotFound', 'message' => 'The instance type is not found.', 'http_code' => 400, 'description' => 'The instance type is invalid.'], + ['code' => 'InvalidTagKey', 'message' => 'The tag keys are not valid.', 'http_code' => 400, 'description' => 'The tag index is invalid.'], + ['code' => 'NumberExceed.ResourceIds', 'message' => 'The maximum number of resource IDs is exceeded.', 'http_code' => 400, 'description' => 'The number of resource group IDs exceeds the upper limit.'], + ['code' => 'NumberExceed.Tags', 'message' => 'The maximum number of tags is exceeded.', 'http_code' => 400, 'description' => 'The number of tags has reached the upper limit.'], + ['code' => 'OperationDenied.CloudBoxExistsInAcceptingVpc', 'message' => 'The operation is not allowed because the CloudBox device exists in accepting vpc.', 'http_code' => 400, 'description' => 'Cloud box instances exist in the receiving end VPC, so VpcPeer instances are not allowed to be created.'], + ['code' => 'OperationDenied.CloudBoxExistsInVpc', 'message' => 'The operation is not allowed because the CloudBox device exists in vpc.', 'http_code' => 400, 'description' => 'A cloud box instance exists in the initiator VPC, so it is not allowed to create a VpcPeer instance.'], + ['code' => 'OperationDenied.OperateShareResource', 'message' => 'The operation is not allowed because of operating shared resource.', 'http_code' => 400, 'description' => 'Operating on shared resources causes the operation to fail'], + ['code' => 'OperationDenied.RouteEntryExist', 'message' => 'The operation is not allowed because of existing routeEntry point to VpcPeer.', 'http_code' => 400, 'description' => 'The VPC peering connection cannot be deleted because a route points to the VPC peering connection.'], + ['code' => 'OperationFailed.AcceptUserCdtNotOpened', 'message' => 'The operation failed because the Cdt service of accept user is not opened.', 'http_code' => 400, 'description' => 'The operation failed because CDT is not activated for the peer.'], + ['code' => 'OperationFailed.AcceptUserCrossBorderCdtNotOpened', 'message' => 'The operation failed because the CrossBorderCdt service of accept user is not opened.', 'http_code' => 400, 'description' => 'The operation failed because the cross-border service of CDT is not activated for the peer.'], + ['code' => 'OperationFailed.BandwidthCannotBeChangedInSameRegion', 'message' => 'The operation failed because the bandwidth cannot be changed in the same region.', 'http_code' => 400, 'description' => 'The operation failed because VpcPeer instances in the same region are not allowed to modify the bandwidth value.'], + ['code' => 'OperationFailed.CdtNotOpened', 'message' => 'The operation failed because the Cdt service is not opened.', 'http_code' => 400, 'description' => 'The operation failed because CDT is not activated.'], + ['code' => 'OperationFailed.CrossBorderCdtNotOpened', 'message' => 'The cross-border data transmission function of Alibaba Cloud is not enabled.', 'http_code' => 400, 'description' => ''], + ['code' => 'OperationFailed.CrossBorderCdtNotOpened', 'message' => 'The operation failed because the CrossBorderCdt service is not opened.', 'http_code' => 400, 'description' => ''], + ['code' => 'OperationFailed.InterRegionLinkTypeNotSupported', 'message' => 'The same region not supported link type feature.', 'http_code' => 400, 'description' => 'Link type characteristics are not supported in the same region.'], + ['code' => 'OperationFailed.NotExist.ResourceGroup', 'message' => 'The operation failed because the resource group does not exist.', 'http_code' => 400, 'description' => 'The operation failed because the resource group does not exist.'], + ['code' => 'OperationFailed.NotExist.ResourceGroup', 'message' => 'The operation failed because the resource group not exist.', 'http_code' => 400, 'description' => 'The operation failed because the resource group does not exist.'], + ['code' => 'OperationFailed.NotExist.ResourceGroup', 'message' => 'The operation failed because resourceGroup not exist.', 'http_code' => 400, 'description' => 'The specified resource group does not exist.'], + ['code' => 'OperationFailed.RegionIdNotSupportLinkType', 'message' => 'The feature link type is not supported in the region.', 'http_code' => 400, 'description' => 'The gold, silver and copper settings for this feature are not supported in the region.'], + ['code' => 'OperationFailed.SpecificLinkTypeNotSupported', 'message' => 'The operation failed because the special link type of user is not opened.', 'http_code' => 400, 'description' => 'The account does not support special link types.'], + ['code' => 'OperationFailed.ViolativeVpcPeer', 'message' => 'The creation operation fails because it is not allowed to create a vpc peer instance between the originating region and the receiving region.', 'http_code' => 400, 'description' => 'the creation operation fails because it is not allowed to create a vpc peer instance between the originating region and the receiving region.'], + ['code' => 'OperationFailed.ViolativeVpcPeer', 'message' => 'The operation failed because it is out of compliance to create a vpc peer between originating region and accepting region.', 'http_code' => 400, 'description' => 'the creation operation fails because it is not allowed to create a vpc peer instance between the originating region and the receiving region.'], + ['code' => 'QuotaExceeded.Bandwidth', 'message' => 'The quota of bandwidth is exceeded.', 'http_code' => 400, 'description' => 'The specified bandwidth is invalid.'], + ['code' => 'QuotaExceeded.CrossRegionVpcPeerCountPerVpc', 'message' => 'The quota of %s is exceeded, usage %s/%s.', 'http_code' => 400, 'description' => 'The number of cross-region VpcPeer in the specified VPC exceeds the limit'], + ['code' => 'QuotaExceeded.IntraRegionVpcPeerCountPerVpc', 'message' => 'The quota of %s is exceeded, usage %s/%s.', 'http_code' => 400, 'description' => 'The number of VpcPeer in the same region in the specified VPC exceeds the limit'], + ['code' => 'QuotaExceeded.VpcPeerCountPerUserPerRegion', 'message' => 'The quota of %s is exceeded, usage %s/%s.', 'http_code' => 400, 'description' => 'The number of VpcPeer instances in a region exceeds the threshold.'], + ['code' => 'QuotaExceeded.VpcPeerCountPerVpc', 'message' => 'The quota of %s is exceeded, usage %s/%s.', 'http_code' => 400, 'description' => 'The number of VPC peering connections to the VPC has reached the upper limit.'], + ['code' => 'ResourceAlreadyExist.RouterInterface', 'message' => 'The specified resource of %s already exists.', 'http_code' => 400, 'description' => 'The specified router interface already exists.'], + ['code' => 'ResourceAlreadyExist.VpcPeer', 'message' => 'The specified resource of %s already exists.', 'http_code' => 400, 'description' => 'The specified VPC peering connection already exists.'], + ['code' => 'ResourceNotFound.InstanceId', 'message' => 'The specified resource of %s is not found.', 'http_code' => 400, 'description' => 'The specified instance is not found'], + ['code' => 'ResourceNotFound.VpcPeer', 'message' => 'The specified resource of VpcPeer is not found.', 'http_code' => 400, 'description' => 'The VPC peering connection does not exist.'], + ['code' => 'UnsupportedRegion', 'message' => 'The feature of %s is not supported in the region of %s.', 'http_code' => 400, 'description' => 'VPC peering connections are not supported in this region.'], + ['code' => 'OperationFailed.UserForbiddenInPreEnv', 'message' => 'Current user is forbidden to operate in pre environment.', 'http_code' => 400, 'description' => 'The current user is prohibited from operating in the advance environment'], + ], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyVpcPeerConnection'], + ['threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagResources'], + ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AcceptVpcPeerConnection'], + ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetVpcPeerConnectionAttribute'], + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'], + ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RejectVpcPeerConnection'], + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'MoveResourceGroup'], + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UnTagResources'], + ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateVpcPeerConnection'], + ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteVpcPeerConnection'], + ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListVpcPeerConnections'], + ], + ], + 'ram' => [ + 'productCode' => 'VpcPeer', + 'productName' => 'Virtual Private Cloud', + 'ramCodes' => ['vpc'], + 'ramLevel' => 'RESOURCE', + 'ramActions' => [ + [ + 'apiName' => 'MoveResourceGroup', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'vpc:MoveResourceGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'VpcPeer', 'arn' => 'acs:vpc:*:{#AccountId}:vpcpeer/{#ResourceId}'], ], - [ - 'errorCode' => 'Forbidden.TagKeys', - 'errorMessage' => 'The tag key cannot be operated by the request.', + ], + ], + [ + 'apiName' => 'AcceptVpcPeerConnection', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'vpc:AcceptVpcPeerConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'Forbidden.TagKey.Duplicated', - 'errorMessage' => 'The specified tag key already exists.', + ], + ], + [ + 'apiName' => 'ListTagResources', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'vpc:ListTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidInstanceIds.NotFound', - 'errorMessage' => 'The instance IDs are not found.', + ], + ], + [ + 'apiName' => 'TagResources', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'vpc:TagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:*:{#AccountId}:vpcpeer/{#PeeringId}'], ], - [ - 'errorCode' => 'InvalidInstanceType.NotFound', - 'errorMessage' => 'The instance type is not found.', + ], + ], + [ + 'apiName' => 'ModifyVpcPeerConnection', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'vpc:ModifyVpcPeerConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListVpcPeerConnections', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'vpc:ListVpcPeerConnections', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'VpcPeer', 'arn' => 'acs:vpc:*:{#AccountId}:vpcpeer/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'CreateVpcPeerConnection', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'vpc:CreateVpcPeerConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVpcPeerConnection', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'vpc:DeleteVpcPeerConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetVpcPeerConnectionAttribute', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'vpc:GetVpcPeerConnectionAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:*:{#accountId}:vpcpeer/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'UnTagResources', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'vpc:UnTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vpcpeer/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'RejectVpcPeerConnection', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'vpc:RejectVpcPeerConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C46FF5A8-C5F0-4024-8262-B16B639225A0\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UnTagResourcesResponse>\\n <RequestId>C46FF5A8-C5F0-4024-8262-B16B639225A0</RequestId>\\n <Success>true</Success>\\n</UnTagResourcesResponse>","errorExample":""}]', - 'title' => 'UnTagResources', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'ap-northeast-2', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'cn-nanjing', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'cn-heyuan', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'cn-guangzhou', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-6', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'vpcpeer.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-7', - 'endpoint' => 'vpcpeer.aliyuncs.com', ], - [ - 'regionId' => 'me-central-1', - 'endpoint' => 'vpcpeer.aliyuncs.com', + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'VpcPeer', 'arn' => 'acs:vpc:*:{#AccountId}:vpcpeer/{#ResourceId}'], + ['validationType' => 'always', 'resourceType' => 'VpcPeer', 'arn' => 'acs:vpc:*:{#accountId}:vpcpeer/{#InstanceId}'], + ['validationType' => 'always', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:{#Region}:{#AccountId}:vpcpeer/{#PeeringId}'], + ['validationType' => 'always', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:*:{#AccountId}:vpcpeer/{#PeeringId}'], + ['validationType' => 'always', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vpcpeer/*'], + ['validationType' => 'always', 'resourceType' => 'VPC', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}'], + ['validationType' => 'always', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:*:{#accountId}:vpcpeer/{#InstanceId}'], + ['validationType' => 'always', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vpcpeer/{#InstanceId}'], ], ], ]; |
