def METHOD_NAME(self, vpc_pcx_id: str) -> VPCPeeringConnection:
    vpc_pcx = self.get_vpc_peering_connection(vpc_pcx_id)
    # if cross region need accepter from another region
    pcx_req_region = vpc_pcx.vpc.ec2_backend.region_name
    pcx_acp_region = vpc_pcx.peer_vpc.ec2_backend.region_name
    if pcx_req_region != pcx_acp_region and self.region_name == pcx_req_region:  # type: ignore[attr-defined]
        raise OperationNotPermitted2(self.region_name, vpc_pcx.id, pcx_acp_region)  # type: ignore[attr-defined]
    if vpc_pcx._status.code != "pending-acceptance":
        raise InvalidVPCPeeringConnectionStateTransitionError(vpc_pcx.id)
    vpc_pcx._status.accept()
    return vpc_pcx