'1.0', '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 VPC peering connection request.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '130834', 'abilityTreeNodes' => ['FEATUREvpcZAZ5VI', 'FEATUREvpc3J8W0N', 'FEATUREvpc7MUSG6'], 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', '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 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" .'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, see [What is a resource group?](~~94475~~)', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfmxazb4ph6aiy****'], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ '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.', 'title' => '', 'example' => '', ], 'required' => false, 'maxItems' => 21, 'minItems' => 1, 'description' => 'The tags.', 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse', 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ '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.', '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' => ''], ], ], 'title' => 'AcceptVpcPeerConnection', '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" .' - **Updating** indicates that the VPC peering connection is being activated.'."\n" ."\n" .' - **Activated** indicates that the VPC peering connection is activated.'."\n" ."\n" .'- **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' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, '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" .'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.', '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" ."\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" ."\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.', '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.', '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://`.', '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" ."\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.', '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~~).', '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.', '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" .'> * 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', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'items' => [ '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://`.', '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.', 'title' => '', 'example' => '', ], 'required' => false, 'maxItems' => 21, 'minItems' => 1, 'description' => 'The tags.', 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse', 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ '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.', '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' => ''], ], ], '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. 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 **Activated** state, the VPC peering connection is created.'."\n" ."\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" .'- 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 VPC peering connection.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, '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.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'pcc-lnk0m24khwvtkm****'], ], [ 'name' => 'Force', 'in' => 'formData', '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 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" .'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', 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ '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.', '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' => ''], ], ], 'title' => 'DeleteVpcPeerConnection', '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 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" .'- **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" .' - **Deleting** indicates the instance is being deleted.'."\n" ."\n" .' - **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' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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.', 'type' => 'string', 'required' => true, 'example' => 'pcc-lnk0m24khwvtkm****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse', 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ '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.', 'type' => 'object', 'properties' => [ 'VpcId' => ['description' => 'The ID of the requester VPC.', 'type' => 'string', 'example' => 'vpc-bp1gsk7h12ew7oegk****', 'title' => ''], 'Ipv4Cidrs' => [ 'description' => 'The IPv4 CIDR blocks of the requester VPC.', 'type' => 'array', '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 blocks of the requester VPC.', 'type' => 'array', '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.', 'type' => 'object', 'properties' => [ 'VpcId' => ['description' => 'The ID of the accepter VPC.', 'type' => 'string', 'example' => 'vpc-bp1vzjkp2q1xgnind****', 'title' => ''], 'Ipv4Cidrs' => [ 'description' => 'The IPv4 CIDR blocks of the accepter VPC.', 'type' => 'array', '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 blocks of the accepter VPC.', 'type' => 'array', '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 list of tags.', 'type' => 'array', 'items' => [ 'description' => 'The list of tags.', 'type' => 'object', 'properties' => [ '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.'."\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.', 'description' => 'The specified instance is not found'], ], ], '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' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', '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 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" .'> 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' => '', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The tags.', 'type' => 'array', 'items' => [ 'description' => 'The tag.', 'type' => 'object', 'properties' => [ '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**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '50'], ], [ 'name' => 'NextToken', 'in' => 'query', '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 ID of the region where the resource is deployed. See [DescribeRegions](~~36063~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'Category', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'description' => 'The type of the tag.'."\n" ."\n" .'- All (default)'."\n" ."\n" .'- Custom'."\n" ."\n" .'- System', 'enumValueTitles' => ['All' => 'All', 'Custom' => 'Custom', 'System' => 'System'], 'title' => '', 'example' => 'All', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse', 'description' => 'Request ID.', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => 'DE65F6B7-7566-4802-9007-96F2494AC512'], 'TagResources' => [ 'description' => 'A list of the resources and their tags.', 'type' => 'array', 'items' => [ 'description' => 'The details of a resource and its tag.', 'type' => 'object', 'properties' => [ '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 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.', '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.'], ], ], 'title' => 'ListTagResources', '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' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'formData', '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.', 'type' => 'string', 'required' => false, 'example' => 'pcc-lnk0m24khwvtkm****', 'title' => ''], ], [ 'name' => 'VpcId', 'in' => 'formData', 'style' => 'simple', 'schema' => [ '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 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.', '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" .'- 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 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 tags.', 'type' => 'array', 'items' => [ 'description' => 'The tags.', 'type' => 'object', 'properties' => [ '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~~).', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxazb4ph6aiy****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse', 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ '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.', 'type' => 'array', 'items' => [ '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.', '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.', 'type' => 'object', 'properties' => [ 'VpcId' => ['description' => 'The ID of the requester VPC.', 'type' => 'string', 'example' => 'vpc-bp1gsk7h12ew7oegk****', 'title' => ''], 'Ipv6Cidrs' => [ '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', 'title' => ''], 'title' => '', 'example' => '', ], 'Ipv4Cidrs' => [ 'description' => 'The IPv4 CIDR block of the requester VPC.', 'type' => 'array', '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 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.', 'type' => 'object', 'properties' => [ 'VpcId' => ['description' => 'The ID of the accepter VPC.', 'type' => 'string', 'example' => 'vpc-bp1vzjkp2q1xgnind****', 'title' => ''], 'Ipv6Cidrs' => [ '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', 'title' => ''], 'title' => '', 'example' => '', ], 'Ipv4Cidrs' => [ 'description' => 'The IPv4 CIDR block of the accepter VPC.', 'type' => 'array', '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.'."\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 tags.', 'type' => 'array', 'items' => [ 'description' => 'The tags.', 'type' => 'object', 'properties' => [ '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' => ['description' => 'The Alibaba Cloud service to which the resource belongs.', 'type' => 'string', 'example' => 'SWAS', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], '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' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, '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.', '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://`.', '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://`.', 'type' => 'string', 'required' => false, 'example' => 'newdescription', 'title' => ''], ], [ 'name' => 'Bandwidth', 'in' => 'formData', '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 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" .'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' => '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', 'description' => 'The response object.', 'type' => 'object', 'properties' => [ '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.', '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' => ''], ], ], 'title' => 'ModifyVpcPeerConnection', '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" .' - **Updating** indicates that the instance is being modified.'."\n" ."\n" .' - **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' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, '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 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** for a VPC peering connection.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'PeerConnection'], ], [ 'name' => 'NewResourceGroupId', 'in' => 'query', '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 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', 'description' => '', 'type' => 'object', 'properties' => [ '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.', '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.'], ], ], '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 connection request for a VPC peering connection.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, '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.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'pcc-lnk0m24khwvtkm0****'], ], [ 'name' => 'DryRun', 'in' => 'formData', '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" .'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', 'description' => 'The response object.', 'type' => 'object', 'properties' => [ '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.', '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.'], ], ], 'title' => 'RejectVpcPeerConnection', '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' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ '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 up to 20 resource IDs.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'pcc-bp16qjewdsunr41m1****'], 'required' => true, 'maxItems' => 50, 'minItems' => 1, 'title' => '', 'example' => '', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The tag details.', 'type' => 'array', 'items' => [ 'description' => 'The tag details.', 'type' => 'object', 'properties' => [ '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 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" .'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 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', 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ '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.', '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.'], ], ], 'title' => 'TagResources', '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" .'- Each tag key must be unique for a resource.'."\n" ."\n" .'- You cannot create unattached tags.'."\n" ."\n" .'- Tags are region-specific.'."\n" ."\n" .' For example, tags that you create in the China (Hangzhou) region are not visible in the China (Shanghai) region.'."\n" ."\n" .'- Within the same account and region, tags are shared across different VPC peering connections.'."\n" ."\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 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' => 'Detaches tags from VPC peering connections.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The resource ID. You can specify up to 20 resource IDs.', 'type' => 'array', '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' => '', ], ], [ 'name' => 'TagKey', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ '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' => 'array', '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 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 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' => '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 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', 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ '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.', '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}'], ], ], ], ], '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}'], ], ], ], [ 'apiName' => 'AcceptVpcPeerConnection', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'vpc:AcceptVpcPeerConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTagResources', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'vpc:ListTagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ '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}'], ], ], ], [ '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' => '*'], ], ], ], ], '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}'], ], ], ];