Activate Expired Intra-region Peering Connections

Last updated: 2020-06-04 17:41:06


    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new VPC API 3.0 which is standardized and faster.

    1. API Description

    This API (EnableVpcPeeringConnection) is used to activate expired regional peering connection.
    Domain for API request:

    If the receiver does not accept the request for a cross-account peering connection within 7 days after the request is initiated, the peering connection become expired. Upon the expiration, the receiver will not be able to perform any action on the peering connection. The initiator can use this API to activate the peering connection and notify the receiver to process the request.

    2. Input Parameters

    The following request parameter list only provides API request parameters. Common request parameters need to be added when the API is called. For more information, refer to Common Request Parameters. The Action field for this API is EnableVpcPeeringConnection.

    Parameter Name Required Type Description
    peeringConnectionId Yes String ID of VPC peering connection, e.g. pcx-6gw5wvmk.

    3. Output Parameters

    Parameter Name Type Description
    code Int Error code. 0: Succeeded; other values: Failed.
    message String Error message.

    4. Error Codes

    The following error code list only provides the business logic error codes for this API. For additional common error codes, refer toVPC Error Codes.

    Error Code Description
    InvalidVpc.NotFound VPC does not exist. Please check the information you entered.
    InvalidPeeringConnection.NotFound Peering connection does not exist. Please check the information you entered.

    5. Example




    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback